-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Cannot find package on node 20 #88
Comments
I just created a fresh React/Typescript/Vite/Node 20.12.0 project and have no issues, so I suspect this may be specific to NextJS...as usual. Can you share a minimal reproduction I can test against? StackBlitz doesn't support Node 20 just yet, but maybe a GitHub Codespace or something? Thanks. |
Hey @rektdeckard For now, I don't seem to get it to break in a contained environment. I guess the problem lies deeper in my code. |
Hey @rektdeckard You can find a minimal example of the error on https://supreme-space-orbit-rq9g7q4xqx3rpv.github.dev/ |
im having this issue as well. had to revert to |
#94 possibly related but opened separately |
Identified to be same issue as #90. Closing as duplicate, but fix incoming! |
Describe the bug
When I try to use the icons in a nextjs project on node 20.12.0 I get the following error.
Cannot find package '/pathtoproject/node_modules/@phosphor-icons/react/dist/node_modules/.pnpm/react@18.2.0/node_modules/react/package.json'
Steps to Reproduce
Try using it in a node 20 react project
Expected behavior
No errors
Context (please complete the following information):
The text was updated successfully, but these errors were encountered: