-
Notifications
You must be signed in to change notification settings - Fork 26.1k
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
Bumping project to 9.5.5 causes build errors #18056
Comments
Needs reproduction. Could you either provide a minimum reproduction repository and the full stack trace? |
@ljosberinn I'm struggling to find more information to provide, have tried replicating in a fresh repo but also stuck on a dead end.
I will try to git bisect the repo using 9.5.5 in hopes of finding a place where it does work, potentially the issue can be identified that way. If you have any ideas, let me know. |
I'm continuing to face this issue with Next 10, would really appreciate any lead towards debugging this as I have no idea where to look. |
A minimum reproduction repository would probably be faster than an async remote debugging session :) |
I most certainly understand this but I don't even know where to start with creating a minimal reproduction. As you can see the error message and stack trace are next to useless (at least in my eyes), which doesn't help the situation. I'll be trying more but this is an arduous process, trying to locate where this actually fails. Potentially since I know the fail is somewhere between 9.5.2 and 9.5.3 I can checkout the commits one by one and see when it starts failing. |
9.5.3-canary.7 - Fail https://github.com/vercel/next.js/releases/tag/v9.5.3-canary.4 EDIT: I thought that perhaps our version of Webpack was out of date, after updating all webpack-related packages the issue remains. |
terser/terser#805 |
Apologies for not providing adequate info initially, was difficult to debug this! Thanks for your help @Timer @ljosberinn :) |
Please try 10.0.4-canary.4 and let us know! |
Confirmed 10.0.4-canary.4 fixes the issue on my end! |
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. |
Bug report
Describe the bug
Upgrading to 9.5.5 causes
Failed to compile
error when runningnext build
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
yarn add next@9.5.5
next build
Expected behavior
The build to succeed as it has with previous versions.
System information
Additional context
The exact point at which our builds fail is upgrading to 9.5.4. Builds previous to that work.
Any pointers to debugging this issue would be appreciated.
The text was updated successfully, but these errors were encountered: