-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot upgrade to next@11 - Unexpected token / in JSON at position 0 #26132
Comments
I was running into this as well. Here's how I just fixed it. I have a few imports that are arrays of data: The file extension was |
Thanks to #26203 I found out that downgrading webpack5: false solves the issue. This seems like a regression (or at least a breaking change) to me as webpack5 configuration worked very fine in next10. |
This sounds like the same issue as #26163. A possible fix is out in |
Yeah duplicate of #26163 |
Tried with |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
What version of Next.js are you using?
11.0.0
What version of Node.js are you using?
16.3.0
What browser are you using?
Chrome
What operating system are you using?
macOS
How are you deploying your application?
Docker
Describe the Bug
After installing
next@11
&eslint-config-next
, I can'tbuild
nordev
anymore.Expected Behavior
Should work without issues
To Reproduce
I can't share my project but I had TS, ESlint & Jest already setup and working in next@10.
Error is not very explicit, maybe you can guide me through some try...catch that would be more helpful?
The text was updated successfully, but these errors were encountered: