Error on Node JS npm/npx project creating with vite/react js “node:internal/modules/cjs/loader:1205 throw err”

https://stackoverflow.com/q/78397311/6546572

Apr 28 ’24 Comments: 4 Answers: 0

1

Currently i’m running node -v v22.0.0
Here I’m creating a new React Js porject. but when initiating the project with vite technology, it errors like this in the terminal.

npm create vite@latest
node:internal/modules/cjs/loader:1205 throw err ^ Error: Cannot find module 'C:\Users\rvdas\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1202:15) at Module._load (node:internal/modules/cjs/loader:1027:27) at Function.executeUserEntryPoint [as


Discover more from Coursity

Subscribe to get the latest posts sent to your email.

Leave a Comment

Your email address will not be published. Required fields are marked *

Discover more from Coursity

Subscribe now to keep reading and get access to the full archive.

Continue reading

Scroll to Top
You can navigate through the portal to access your service (2025 jamb questions and expo runs free , ). Creating an effective work from home routine : productivity tips for remote work.