puter
puter copied to clipboard
npm install error
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.
Deployment
- [ ] Production (none)
- [ ] Development (
npm install
)
Puter version (latest)
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
I tried to re install npm, now it says /usr/bin/env: ‘node’: No such file or directory
What shows up when you run the command which node
? The error /usr/bin/env: ‘node’: No such file or directory
seems like it's an issue with the node installation.
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