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
Default Next.js app fails to build in brand new workspace #9768
Comments
Idk if this is related, I saw there might be a version mismatch between react and types/react after the react18 migration, perhaps this is the cause? |
I think the error may be in the tsconfig.json. change jsx-transpilation to |
Should be fixed with: #9767 If the problem still persist please feel free to open |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
After creating a new Nx workspace with a Next.js application, the Next.js app fails to build even though no changes have been made to the app.
Expected Behavior
Builds should succeed for new, unchanged Next.js apps in a freshly generated workspace.
Steps to Reproduce
Here's a reproduction of the issue using Codesandbox. The Next.js app will run fine in the sandbox, but opening a new terminal window and attempting to build to will result in an error.
Failure Logs
Environment
The text was updated successfully, but these errors were encountered: