【发布时间】:2020-08-12 01:22:43
【问题描述】:
我在 package.json 中使用名为"stream-mmmagic": "^2.1.0"的 npm 模块,当我运行 npm install 时。我收到以下错误。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mmmagic@0.5.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mmmagic@0.5.3 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:
目前我正在使用这些版本
node version is 10.15.1
python version is 2.7.17
nvm running version is 1.1.7
如何解决上述错误,请帮我解决错误。
提前致谢
【问题讨论】:
-
你看引用的日志了吗?
-
是的@DaveNewton,但无法弄清楚
-
我猜连日志看起来都像终端中的错误消息
-
但是您没有显示实际错误。包含实际信息可能会有所帮助。
-
在终端和日志文件中,我也得到了同样的上述错误,我在上面提到过@DaveNewton