当npm安装某些东西时总是失败

时间:2020-04-16 04:58:27

标签: npm npm-install

当我尝试运行npm install时,总是出现以下错误:

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sharp@0.18.4 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sharp@0.18.4 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\hauph\AppData\Roaming\npm-cache\_logs\2020-04-16T04_45_21_160Z-debug.log

有人可以告诉我哪里出了问题以及如何解决它,以便我可以正常运行npm install吗?

我的节点版本: 10.16.3

我的npm版本: 6.9.0

谢谢!

0 个答案:

没有答案