开发者社区> 问答> 正文

安装总报错, python 2.7.10 ,nodejs 4.2.1?报错

npm ERR! Linux 2.6.32-573.7.1.el6.x86_64
npm ERR! argv "/ROOT/server/nodejs/bin/node" "/ROOT/server/nodejs/bin/npm" "install" "log.io" "-g"
npm ERR! node v4.2.1
npm ERR! npm  v2.14.7
npm ERR! code ELIFECYCLE


npm ERR! contextify@0.1.14 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the contextify@0.1.14 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls contextify
npm ERR! There is likely additional logging output above.


npm ERR! Please include the following file with any support request:
npm ERR!     /ROOT/server/nodejs/lib/node_modules/npm-debug.log


展开
收起
爱吃鱼的程序员 2020-06-10 11:16:27 622 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    少装了模块 node-gyp,使用npm在线安装: npminstallnode-gyp

    2020-06-10 11:16:43
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
From Python Scikit-Learn to Sc 立即下载
Data Pre-Processing in Python: 立即下载
双剑合璧-Python和大数据计算平台的结合 立即下载