简体   繁体   中英

npm glob errors and unmet dependencies

When I run npm ls -g this is the output . Is there a way to correct all those errors? I'm trying to find a "npm install all dependencies [recursively]" type command.

I have tried ulimit -n 64 (because I read somewhere in the npm issues that might help?). The following is the output when I run ulimit -a :

core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max locked memory (kbytes, -l) unlimited max memory size (kbytes, -m) unlimited open files (-n) 64 pipe size (512 bytes, -p) 1 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 709 virtual memory (kbytes, -v) unlimited

$ node -v v0.10.29

Please let me know if I can provide any other information (and how to do so). Thanks.

I tried:

npm install -g npm

npm cache clean

npm cache clear 

from npm's troubleshooting page and the errors seem to have disappeared .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM