【问题标题】:NPM install fails due to stream-mmmagic由于 stream-mmmagic,NPM 安装失败
【发布时间】: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

标签: node.js reactjs npm


【解决方案1】:

这看起来是一个通用的安装错误,您可以在这个Github issue page 中找到多种解决方案,我建议您仔细查看 cmets,并在找到解决方案时告诉我们。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-02-06
    • 1970-01-01
    • 2018-10-07
    • 1970-01-01
    • 2017-02-04
    • 2012-12-07
    相关资源
    最近更新 更多