Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Annot fin module 'internal/fs' while installing express #19302

Open
12 tasks
NajehM opened this issue Dec 2, 2017 · 0 comments
Open
12 tasks

Annot fin module 'internal/fs' while installing express #19302

NajehM opened this issue Dec 2, 2017 · 0 comments
Labels

Comments

@NajehM
Copy link

NajehM commented Dec 2, 2017

I'm opening this issue because:

  • npm is crashing.
  • [*] npm is producing an incorrect install.
  • npm is doing something I don't understand.
  • Other (see below for feature requests):

What's going wrong?

When I write npm install express or install any thing else, there is npm Error: Cannot find module 'internal/fs'
npm ERR! code MODULE_NOT_FOUND.
I don't find the way to fix it

How can the CLI team reproduce the problem?

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Users\hp.hp-PC\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'express' ]
2 info using npm@3.7.2
3 info using node@v8.1.2
4 verbose stack Error: Cannot find module 'internal/fs'
4 verbose stack at Function.Module._resolveFilename (module.js:485:15)
4 verbose stack at Function.Module._load (module.js:437:25)
4 verbose stack at Module.require (module.js:513:17)
4 verbose stack at require (internal/module.js:11:18)
4 verbose stack at evalmachine.:40:20
4 verbose stack at Object. (C:\Users\hp.hp-PC\AppData\Roaming\npm\node_modules\npm\node_modules\cmd-shim\node_modules\graceful-fs\fs.js:11:1)
4 verbose stack at Module._compile (module.js:569:30)
4 verbose stack at Object.Module._extensions..js (module.js:580:10)
4 verbose stack at Module.load (module.js:503:32)
4 verbose stack at tryModuleLoad (module.js:466:12)
5 verbose cwd c:\xampp\htdocs\projectNodejs
6 error Windows_NT 6.1.7601
7 error argv "C:\Program Files\nodejs\node.exe" "C:\Users\hp.hp-PC\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "express"
8 error node v8.1.2
9 error npm v3.7.2
10 error code MODULE_NOT_FOUND
11 error Cannot find module 'internal/fs'
12 error If you need help, you may report this error at:
12 error https://github.com/npm/npm/issues
13 verbose exit [ 1, true ]

supporting information:

  • npm -v prints: 3.7.2
  • node -v prints: v8.1.2
  • npm config get registry prints: https://registry.npmjs.org/
  • Windows, OS X/macOS, or Linux?: Windows
  • Network issues:
    • Geographic location where npm was run:
    • I use a proxy to connect to the npm registry.
    • I use a proxy to connect to the web.
    • I use a proxy when downloading Git repos.
    • I access the npm registry via a VPN
    • I don't use a proxy, but have limited or unreliable internet access.
  • Container:
    • I develop using Vagrant on Windows.
    • I develop using Vagrant on OS X or Linux.
    • I develop / deploy using Docker.
    • I deploy to a PaaS (Triton, Heroku).
@kenany kenany added the support label Dec 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants