Title: npm command error · Issue #4423 · nodejs/help · GitHub
Open Graph Title: npm command error · Issue #4423 · nodejs/help
X Title: npm command error · Issue #4423 · nodejs/help
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 ...
Open Graph 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/L...
X 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/L...
Opengraph URL: https://github.com/nodejs/help/issues/4423
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"npm command error","articleBody":"### Node.js Version\n\nv16.20.2\n\n### NPM Version\n\nv1.1.1\n\n### Operating System\n\nLinux 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\n\n### Subsystem\n\nOther\n\n### Description\n\nwhen i execute command npm appear error node:internal/modules/cjs/loader:1031\r\n throw err;\r\n ^\r\nError: Cannot find module '/usr/bin/npm'\r\n at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1028:15)\r\n at Function.Module._load (node:internal/modules/cjs/loader:873:27)\r\n at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)\r\n at node:internal/main/run_main_module:22:47 {\r\n code: 'MODULE_NOT_FOUND',\r\n requireStack: []\r\n}\n\n### Minimal Reproduction\n\n_No response_\n\n### Output\n\n_No response_\n\n### Before You Submit\n\n- [X] I have looked for issues that already exist before submitting this\n- [X] 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","author":{"url":"https://github.com/RobloxExecutorV3","@type":"Person","name":"RobloxExecutorV3"},"datePublished":"2024-06-22T17:32:57Z","url":"https://github.com/nodejs/help/issues/4423"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:91474aa4-a60a-ebdc-45ad-a65b14256c0b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B83E:2A5FF2:4F11A:6AA4C:6AED62BC |
| html-safe-nonce | ccd1c00372d3003927348676907fe8394ec79b88162be97301768a62d8d83f99 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODNFOjJBNUZGMjo0RjExQTo2QUE0Qzo2QUVENjJCQyIsInZpc2l0b3JfaWQiOiIxMjI4MzYxMDA0OTMyMjI3NzcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 487a273adbd4ba6ed380552c4efc299a588226e14ce1642208a3b7f051bb4476 |
| hovercard-subject-tag | issue:2367925160 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/help/4423/issue_layout |
| twitter:image | https://opengraph.githubassets.com/83854fae1d9641626a2a103fb7ee86fc8f87612c8062d0d347ef163cb1b230fc/nodejs/help/issues/4423 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/83854fae1d9641626a2a103fb7ee86fc8f87612c8062d0d347ef163cb1b230fc/nodejs/help/issues/4423 |
| og:image:alt | 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/L... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | RobloxExecutorV3 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/help git https://github.com/nodejs/help.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 43069468 |
| octolytics-dimension-repository_nwo | nodejs/help |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 43069468 |
| octolytics-dimension-repository_network_root_nwo | nodejs/help |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width