Module not found: Can't resolve 'path?__next_metadata__'
Unanswered
Barbary Lion posted this in #help-forum
Barbary LionOP
I get this error no matter if i create a new project, use an older version, or anything.
I get this error even after running the npx command and not changing a single thing, just simply running npm run dev.
I cannot resolve it no matter what, i've tried everything, and i'm tired of it.
Please help.
I get this error even after running the npx command and not changing a single thing, just simply running npm run dev.
I cannot resolve it no matter what, i've tried everything, and i'm tired of it.
Please help.
4 Replies
before running npm run dev do you run npm i. because probably you have a global next module which node picks up it lower than nextjs v14 and the app dir with Link is cauing the issue @Barbary Lion
run npm i and then npm run dev
Barbary LionOP
Yes i do run that
can you show me your logs and package.json file.