You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce the behavior, please provide code snippets or a repository:
Go to '...'
Go to a next typescript repository that uses yarn instead of npm. update your next version to 9.5.3
Click on '....'
Launch yarn dev. It will throw an event /next/dist/pages/_error
Scroll down to '....' Cannot find module ...build-manifest.json
See error
Expected behavior
Expected _app.tsx to not unforeseeably error out.
Screenshots
If applicable, add screenshots to help explain your problem.
Launching with next version 9.5.3
Rolling the version back to next version 9.5.2
Next launches successfully on yarn dev with next 9.5.2
System information
OS: Windows
Version of Next.js: 9.5.3 introduces breaking changes
Version of Node.js: 14.10
Additional context
Add any other context about the problem here.
Rollback your next version to 9.5.2 to resolve the error if using typescript and yarn with next until the breaking changes are resolved by the vercel/next team.
The text was updated successfully, but these errors were encountered:
@laugharn you are correct. I just ran yarn add next@9.5.4 and that resolved the issue as well. When running yarn add next without targeting a version explicitly it installs next 9.5.3. Thanks for the prompt response!
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.
vercel
locked as resolved and limited conversation to collaborators
Jan 29, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug report
Describe the bug
Next version 9.5.3 breaks when used with yarn. I remade a repo using npm instead and it was smooth sailing.
A clear and concise description of what the bug is.
"Invalid page config export found. Expected object but got import in file pages\ _app.tsx."
To Reproduce
Create a next project using yarn. In _app.tsx, use the following code
Steps to reproduce the behavior, please provide code snippets or a repository:
Go to a next typescript repository that uses yarn instead of npm. update your next version to 9.5.3
Launch
yarn dev
. It will throw an event/next/dist/pages/_error
Cannot find module ...build-manifest.json
Expected behavior
Expected _app.tsx to not unforeseeably error out.
Screenshots
If applicable, add screenshots to help explain your problem.
Launching with next version 9.5.3
Rolling the version back to next version 9.5.2
Next launches successfully on
yarn dev
with next 9.5.2System information
Additional context
Add any other context about the problem here.
Rollback your next version to 9.5.2 to resolve the error if using typescript and yarn with next until the breaking changes are resolved by the vercel/next team.
The text was updated successfully, but these errors were encountered: