-
Notifications
You must be signed in to change notification settings - Fork 26.7k
-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
unable to upgrade to react 18 #33297
Labels
Upstream
Related to using Next.js with a third-party dependency. (e.g., React, UI/icon libraries, etc.).
Comments
This is an issue with React: #32587 (comment) Will be fixed in their next release: |
balazsorban44
added
Upstream
Related to using Next.js with a third-party dependency. (e.g., React, UI/icon libraries, etc.).
and removed
bug
Issue was opened via the bug report template.
labels
Jan 15, 2022
Thank you. When do you think will be the next release on? |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Upstream
Related to using Next.js with a third-party dependency. (e.g., React, UI/icon libraries, etc.).
Run
next info
(available from version 12.0.8 and up)/bin/sh: 1: yarn: not found
/bin/sh: 1: pnpm: not found
What version of Next.js are you using?
12.0.8
What version of Node.js are you using?
17.2
What browser are you using?
chrome, firefox
What operating system are you using?
ubuntu
How are you deploying your application?
I am not deploying it yet. Working in dev environment
Describe the Bug
When I run
npm run dev
after installingrc
version ofreact
andreact-dom
I keep getting following message:ready - started server on 0.0.0.0:3000, url: http://localhost:3000
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './package.json' is not defined by "exports" in /home/brum/Documents/xcode/suspense/node_modules/react/package.json
{ code: 'ERR_PACKAGE_PATH_NOT_EXPORTED' }
Expected Behavior
successfully run dev server on localhost:3000
To Reproduce
npm install next@latest react@rc react-dom@rc --legacy-peers-deps
npm run dev
The text was updated successfully, but these errors were encountered: