-
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
Next js 11 build issues (both dev and build) #26177
Comments
Ok seems to be linked to:
|
Might be a duplicate of #26132 |
Edit: it appears my issue is #26130 I just upgraded to v11, and have a similar issue loading SVGs. No problems on v10: I don't have any comments or commas in |
Also a duplicate of #25950 Can you disable the new static image feature for now as a workaround:
|
Hi yes that seems to have resolved my production build issues. Obviously not a long term solution as would be good to take advantage of the static image features but unblocks me for now |
@wroughtec I agree. There is some ongoing discussion about this here: #26167 |
I (think) that this has been solved in the latest canary, |
Yep that seems to resolve the build 👍 |
There's 2 separate reports in this thread, both of them have been fixed on canary so I'm going to close this issue 👍 |
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 (& 11.0.1-canary.0)
What version of Node.js are you using?
14.17.0
What browser are you using?
NA
What operating system are you using?
Windows WSL2 (Ubuntu 20.04)
How are you deploying your application?
NA
Describe the Bug
On running dev getting the following issue when it first starts to build (has not hit the browser yet):
Files are typescript and has a custom .babelrc file. (appreciate there are a few tickets open that are probably the same issue but hopefully the strack trace will help)
Building (none dev) gives the following error:
Expected Behavior
Dev & build not to fail
To Reproduce
running this command from package.json (which had no issues in v10*):
cross-env NODE_ENV=development NODE_OPTIONS='--inspect --max_old_space_size=8192' next dev
The text was updated successfully, but these errors were encountered: