Next.js Discord

Discord Forum

Parsing error: cannot find module 'next/babel'

Answered
Cape lion posted this in #help-forum
Open in Discord
Cape lionOP
I just started a next app and I keep getting this error in my components I have no idea why. I haven't even done anything to the code yet after starting up the app. Is anyone else getting this error?
Answered by Cape lion
I found a solution that seems to have worked. Added "next/babel" to eslintrc.json file
View full answer

1 Reply

Cape lionOP
I found a solution that seems to have worked. Added "next/babel" to eslintrc.json file
Answer