windows - Certain NPM installs fail with EPERM 50 (Gulp and others) -


I have to continue allowing errors on Windows 7 when NPM is trying to install some modules. For example, the global installation of CALL is as follows:

 c: \ users \ abc \ document \ uniform \ UniServer \ www \ ur> npm install -g gulp /> v8flags@1.0.1i install Do: \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ nDisplay fetch.js Flags 3.14.5.9 cached for users \ abc \ AppData \ roaming \ npm \ node_modules \ gulp \ node_modules \ v8flags> v8. NPM ERR! Error: EPERM, open 'C: \ Users \ abc \ Documents \ uniform \ UniServer \ www \ npmcache \ c14291c8-che-ansi-regex-0-2-1-package-tgz.lock' NPM ERR! {[Error: APRAM, Open 'C: \ Users' ABC' Documents' Uniform \ UNIVERVER \ www \ NPMKECH \ c14291c8-CH-ANSI-Regex-0-2-1 -Page-TGs.Loc '] NPM ERR! Errno: 50, NPM ERR! Code: 'APERM', NPM ERR! Path: 'C: \\ User \\ ABC \\ Documents \\ Uniform \\ UniServer \\ www \\ npmcache \\ c14291c8-che-ans i-regex-0-2-1-package-tgz.lock'} NPM ERR! NPM ERR! Please try running this command again as root / administrator. NPM ERR! System Windows_NT 6.1.7601 NMP ERR! Command "C: \\ Program Files \\ node \\\\ node.exe" "C: \\ Program Files \\ Nodes \\ node_module \\ nh \\ bin \\ npm-cli.js" "Installed" "-G" "Gump" NPM ERR! Cwd c: \ users \ abc \ document \ uniform \ UniServer \ www \ ur npm ERR! Node-v v0.10.32 nmp err! NMP-V 1.4.28 NPM ERR! Path C: \ Users \ abc \ Documents \ uniform \ UniServer \ www \ npmcache \ c14291c8-che-ansi-regex-0-2- 1-package-tgz.lock NMP ERR! Code EPERM NPM ERR! Wrong 50 NmR ERR! Stack error: EPERM, 'C: \ users \ abc \ document \ uniform \ UniServer \ www \ npmcache \ c14291c 8-che-ansi-regex-0-2-1-package-tgz.lock' Open NMP ERR! Code is not correct 0 

I get this error when running CMD as an administrator. I have read in other such posts that it can represent an unavailable program. git is installed and works, so it is not so. Bover is installed and works; I have tried to add system path to c: \ windows \ system32 . No help. As you might be able to tell, I've modified the location of my NPM cache that maybe this folder was by default, there are no permissions problems, there is no help, or I - add no-bin-link option I have tried, I do not really help because of this loss, which is causing this problem is the only issue in trying to install slush-mongo , either world level On or locally

I had only one problem and these command line flags which disabled it Without hesitant AV:

  npm install - cache-lock-retries 1000 - cache-lock-wait 100000  

You can change the default value (So ​​you set

  npm config cache-lock-retries 1000 npm configuration set cache-lock-wait 100000   / pre> 

Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -