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
Failed to compile after upgrading from 7 to 8 #6259
Comments
same problem here with nextjs 8 Update: Change to use yarn instead of npm can workaround the problem |
@soffes Sorry I didn't recognize the bug from your tweet 🤦♂️ It's a known issue with |
The steps in that comment didn't work for me. I just removed webpack altogether and it started working. |
Did you have it in your |
Had the same issue, in my case solved it by deleting |
For me, the solution was to remove |
I got this error following https://nextjs.org/learn/excel/lazy-loading-components. Worked for me. |
This is a problem of npm (of course) caused by acorn caused by webpack caused by updating next to 8. Solution: webpack/webpack#8656 (comment) |
Bug report
Describe the bug
Upgraded from 7 to 8 and now seeing this error. I don't really understand what the issue is or what I should do to fix it.
To Reproduce
Expected behavior
It starts the development server.
System information
The text was updated successfully, but these errors were encountered: