当我尝试运行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
谢谢!