Skip to content
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 -v throw err #13169

Closed
ValBrigatti opened this issue May 23, 2017 · 3 comments
Closed

npm -v throw err #13169

ValBrigatti opened this issue May 23, 2017 · 3 comments
Labels
duplicate Issues and PRs that are duplicates of other issues or PRs. npm Issues and PRs related to the npm client dependency or the npm registry.

Comments

@ValBrigatti
Copy link

  • Version:7.10.0
  • Platform:Mac OS X Yosemite 10.10.5
  • Subsystem:

I tried to run npm -v (node v7.10.0) and I got:
npm -v
module.js:472
throw err;
^

Error: Cannot find module 'internal/fs'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at evalmachine.:18:20
at Object. (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/node_modules/graceful-fs/fs.js:11:1)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)

How do I fix this?

@bnoordhuis
Copy link
Member

See #9377 for solutions.

@bnoordhuis bnoordhuis added duplicate Issues and PRs that are duplicates of other issues or PRs. npm Issues and PRs related to the npm client dependency or the npm registry. labels May 23, 2017
@jnsakuv
Copy link

jnsakuv commented Oct 9, 2017

How can I install the express without being connected to the internet?

@gibfahn
Copy link
Member

gibfahn commented Oct 9, 2017

How can I install the express without being connected to the internet?

Please raise general help issues here: https://github.com/nodejs/help/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issues and PRs that are duplicates of other issues or PRs. npm Issues and PRs related to the npm client dependency or the npm registry.
Projects
None yet
Development

No branches or pull requests

4 participants