ubuntu 下 使用node.js npm install -d 报错 求大神帮忙

gyp:/home/luxl/.node-gyp/0.12.7/common.gypinotfound(cwd:/home/luxl/webstormAll/cbb-ke... gyp: /home/luxl/.node-gyp/0.12.7/common.gypi not found (cwd: /home/luxl/webstormAll/cbb-kefu/node_modules/kafka-node/node_modules/snappy) while reading includes of binding.gyp while trying to load binding.gypgyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/home/luxl/webstormAll/cbb-kefu/node_modules/kafka-node/node_modules/snappy/node_modules/pangyp/lib/configure.js:345:16)gyp ERR! stack at ChildProcess.emit (events.js:110:17)gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)gyp ERR! System Linux 3.19.0-15-genericgyp ERR! command "node" "/home/luxl/webstormAll/cbb-kefu/node_modules/kafka-node/node_modules/snappy/node_modules/.bin/pangyp" "rebuild"gyp ERR! cwd /home/luxl/webstormAll/cbb-kefu/node_modules/kafka-node/node_modules/snappygyp ERR! node -v v0.12.7gyp ERR! pangyp -v v2.3.0gyp ERR! not ok npm info snappy@3.2.2 Failed to exec install scriptnpm WARN This failure might be due to the use of legacy binary "node"npm WARN For further explanations, please read/usr/share/doc/nodejs/README.Debian npm info preuninstall snappy@3.2.2npm info uninstall snappy@3.2.2npm info postuninstall snappy@3.2.2npm info preuninstall kafka-node@0.2.27npm info uninstall kafka-node@0.2.27npm info postuninstall kafka-node@0.2.27npm ERR! snappy@3.2.2 install: `pangyp rebuild`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the snappy@3.2.2 install script.npm ERR! This is most likely a problem with the snappy package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR! pangyp rebuildnpm ERR! You can get their info via:npm ERR! npm owner ls snappynpm ERR! There is likely additional logging output above.npm ERR! System Linux 3.19.0-15-genericnpm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "-d"npm ERR! cwd /home/luxl/webstormAll/cbb-kefunpm ERR! node -v v0.10.25npm ERR! npm -v 1.4.21npm ERR! code ELIFECYCLEnpm ERR! npm ERR! Additional logging details can be found in:npm ERR! /home/luxl/webstormAll/cbb-kefu/npm-debug.lognpm ERR! not ok code 0 展开
 我来答
yunnysunny
2015-08-29 · TA获得超过123个赞
知道小有建树答主
回答量:224
采纳率:100%
帮助的人:53.4万
展开全部
c++代码编译报错,只能看出来这些。
浙江启扬智能科技有限公司
2023-06-12 广告
Linux 嵌入式系统中,USB 启动模式能够烧写 ARM 的 uboot 的原因主要有以下几个方面:1. USB 启动模式相对于传统的 BIOS 启动模式来说,具有更高的兼容性和灵活性,可以支持更多的硬件设备和操作系统。2. USB 启动... 点击进入详情页
本回答由浙江启扬智能科技有限公司提供
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式