You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
I download the latest node today and installed on my Windows laptop with a fresh cygwin install. When I tried to install express using npm, I get the following -- the path at which npm is looking is mixed between cygwin paths and windows paths, resulting in failure.
$ npm install -g express
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'C:\cygdrive\c\Program Files\nodejs\node_modules\npm\bin\npm-cli.js'
at Function._resolveFilename (module.js:332:11)
at Function._load (module.js:279:25)
at Array.0 (module.js:479:10)
at EventEmitter._tickCallback (node.js:192:40)
Any hints on how to fix this?
Thanks
Manas
The text was updated successfully, but these errors were encountered:
I download the latest node today and installed on my Windows laptop with a fresh cygwin install. When I tried to install express using npm, I get the following -- the path at which npm is looking is mixed between cygwin paths and windows paths, resulting in failure.
$ npm install -g express
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'C:\cygdrive\c\Program Files\nodejs\node_modules\npm\bin\npm-cli.js'
at Function._resolveFilename (module.js:332:11)
at Function._load (module.js:279:25)
at Array.0 (module.js:479:10)
at EventEmitter._tickCallback (node.js:192:40)
Any hints on how to fix this?
Thanks
Manas
The text was updated successfully, but these errors were encountered: