-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Error [ERR_PACKAGE_PATH_NOT_EXPORTED] #41
Comments
Have you managed to run your work? If so, what was the solution? |
I rewrote everything from scratch |
Had the same problem. Basically updated all the packages to the latest versions. No idea how that will affect the course material. |
After Updating all the packages, did it work? |
I also faced with this problem. Nothing helped even upgrading all of the packages to the latest versions. So I deployed it to Netlify. On Netlify the project works fine except some small issues. |
I had the same issue here. I fixed changing version of dependencies in package.json. Before: After: Edit: Remember delete package-lock.json and the folder node_modules. After this run 'npm i' again. |
Hihi! Interesting thing. I also tried to do the same. But unfortunately it
didn't help.
My current versions of dependencies which I couldn't manage to start on
Vercel looks like:
I see that they are similar to yours.
"dependencies": {
"gray-matter": "^4.0.3",
"mongodb": "^5.1.0",
"next": "^13.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "^8.0.5",
"react-syntax-highlighter": "^15.5.0"
}
ср, 15 бер. 2023 р. о 16:06 Diego Peres Garcia ***@***.***>
пише:
… I had the same issue here. I fixed changing version of dependencies in
package.json.
Before:
"dependencies": {
"next": "10.0.6",
"react": "17.0.1",
"react-dom": "17.0.1"
}
After:
"dependencies": {
"next": "13.2.4",
"react": "18.2.0",
"react-dom": "18.2.0"
}
—
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASNU5TN465YJ5D4HSW7SMNTW4HEFBANCNFSM6AAAAAAUTMLGUA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
P.s. Thanks a lot for your help. It has been fixed. The main point which I skipped is - "delete package-lock.json". After deleting package-lock.json all came to the right place and the project was deployed successfully. |
I deleted package-lock.json, and node_modulesI used this command and fixed.
I used the default package.json:
|
I downloaded and installed nvm (node version manager). And then in my project I downgraded the node version to 16.14.2 (from 18.) using the command: nvm use 16.14.2 After the above change the error has gone and it's working for me. |
I think this course repo needs to be updated in other to work smoothly with next13 and react18 because I have been running into constant try to get starter-code up and running
The text was updated successfully, but these errors were encountered: