‘NextJSthe-wild-oasis-websitenode_modules.bin’ is not recognized as an internal or external command,
operable program or batch file.
node:internal/modules/cjs/loader:1148
throw err;
^
Error: Cannot find module ‘W:Projectsnextdistbinnext’
at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
at Module._load (node:internal/modules/cjs/loader:986:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49 {
code: ‘MODULE_NOT_FOUND’,
requireStack: []
}
I am trying to start next js development server but getting this error when I run npm run dev. I am using next js 14 and node version 20.13.1.
Fahim is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.