简体   繁体   English

npm glob错误和未满足的依赖关系

[英]npm glob errors and unmet dependencies

When I run npm ls -g this is the output . 当我运行npm ls -g 这是输出 Is there a way to correct all those errors? 有没有办法纠正所有这些错误? I'm trying to find a "npm install all dependencies [recursively]" type command. 我正在尝试找到“ npm [递归]安装所有依赖项”类型的命令。

I have tried ulimit -n 64 (because I read somewhere in the npm issues that might help?). 我尝试了ulimit -n 64 (因为我在npm中读到了一些可能有帮助的问题?)。 The following is the output when I run ulimit -a : 以下是我运行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 . npm的故障排除页面中 ,错误似乎已经消失了

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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