Answered by:
Npm dependencies doesn’t load on visual studio 2015 project

Question
-
hi, I have been for the past 6 hours trying to download nodejs and install npm and apache cordova tools but I have not been able. here is a list of the errors I'm getting
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Users\Israel\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "-g" "cordova" "ionic"
npm ERR! node v6.6.0
npm ERR! npm v3.10.8
npm ERR! path C:\Program Files (x86)\nodejs\npm-debug.log.824325335
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall opennpm ERR! Error: EPERM: operation not permitted, open 'C:\Program Files (x86)\nodejs\npm-debug.log.824325335'
npm ERR! at Error (native)
npm ERR! { Error: EPERM: operation not permitted, open 'C:\Program Files (x86)\nodejs\npm-debug.log.824325335'
npm ERR! at Error (native)
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'open',
npm ERR! path: 'C:\Program Files (x86)\nodejs\npm-debug.log.824325335' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.npm ERR! Please include the following file with any support request:
npm ERR! C:\Program Files (x86)\nodejs\npm-debug.log
Easy
Tuesday, September 20, 2016 2:34 PM
Answers
-
for some reason, i had to download only specific versions of packages.
for instance, i had to update minimatch to version 3, then download npm@2.15.11 before i could download cordova@6.3.1
Easy
- Marked as answer by EasyHero Wednesday, September 21, 2016 8:00 AM
Wednesday, September 21, 2016 8:00 AM
All replies
-
I'd try them over here.
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.Tuesday, September 20, 2016 2:38 PM -
thanks
Easy
Tuesday, September 20, 2016 3:15 PM -
for some reason, i had to download only specific versions of packages.
for instance, i had to update minimatch to version 3, then download npm@2.15.11 before i could download cordova@6.3.1
Easy
- Marked as answer by EasyHero Wednesday, September 21, 2016 8:00 AM
Wednesday, September 21, 2016 8:00 AM