Closed as not planned
Description
Node.js Version
v16.20.2
NPM Version
v1.1.1
Operating System
Linux 95aec911-63b8-4b35-a33b-dda6ec5210cb 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 x86_64 x86_64 GNU/Linux
Subsystem
Other
Description
when i execute command npm appear error node:internal/modules/cjs/loader:1031
throw err;
^
Error: Cannot find module '/usr/bin/npm'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1028:15)
at Function.Module._load (node:internal/modules/cjs/loader:873:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:22:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Minimal Reproduction
No response
Output
No response
Before You Submit
- I have looked for issues that already exist before submitting this
- My issue follows the guidelines in the README file, and follows the 'How to ask a good question' guide at https://stackoverflow.com/help/how-to-ask