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
npm install error #359
Comments
What version of Node.js are you running? I wonder if it's related to that. |
I tried to re install npm, now it says /usr/bin/env: ‘node’: No such file or directory |
hi @Eric-Lighthall nodejs version is v20.12.2 |
@Eric-Lighthall npm version is 10.5.0 |
What shows up when you run the command Searching the error on google shows it's usually a naming problem with the path. |
@Eric-Lighthall which node command /home/ubuntu/.nvm/versions/node/v20.12.2/bin/node |
Install error
Trying to install
Install succesfuly
**internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'node:path'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/usr/local/lib/node_modules/npm/lib/cli.js:2:18)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)**
Deployment
npm install
)Puter version (latest)
The text was updated successfully, but these errors were encountered: