简体   繁体   English

Node-gyp重建错误

[英]Node-gyp rebuild Error

在此处输入图片说明 while trying to install node dependency(npm install) error Am using node version v4.4.0 尝试安装节点依赖项(npm install)时出现错误,使用节点版本v4.4.0

It looks like you're using an older version of npm. 看来您使用的是npm的旧版本。 You might want to get the latest by running npm install npm . 您可能想通过运行npm install npm获得最新信息。

Contextify actually isn't needed since you're running Node version >4. 由于您运行的是节点版本> 4,因此实际上不需要Contextify。 I suspect that you haven't explicitly included contextify but rather it is being included as a dependency by some other package. 我怀疑您没有显式包含contextify,而是其他软件包将它作为依赖项包含在内。 Try to figure out what package that is and see if there's a newer version of it that. 尝试找出是哪个软件包,并查看是否有较新版本。 See here: https://github.com/nodejs/node-gyp/issues/785 看到这里: https : //github.com/nodejs/node-gyp/issues/785

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM