由于流mmmagic,NPM安装失败



我在我的package.json中使用名为"stream-mmmagic": "^2.1.0"的npm模块,当我运行npm安装时。我得到以下错误。

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

如何修复上述错误,请帮助我解决错误。

提前感谢

这看起来像是一个常见的安装错误,你可以在这个Github问题页面中找到多个解决方案,我建议仔细查看评论,并在你找到解决方案时告诉我们。

最新更新