Nextjs 14.1.0 getting this error
Answered
Anay-208 posted this in #help-forum
5 Replies
Barbary Lion
You may need to wrap the component in an empty fragment
<>Answer
@Anay-208 Its fixed by restarting app, however, Its a hassle to restart app again n again
this i get also too often, and my solution is just to restart as i think nextjs gets itself in confused state
(i thought it was turbo and autosave being to fast for it)
if that is actually a permanent solution id be kinda confused, but if it doesnt come back after that, let me know!
@riský if that is actually a permanent solution id be kinda confused, but if it doesnt come back after that, let me know!
Anay-208OP
Well, my collagues were facing this issue, and I wasn't.
And Upon checking their code, they didn't use react fragment, And I had react fragment everywhere.
And Upon checking their code, they didn't use react fragment, And I had react fragment everywhere.