make: Entering directory /*****/node_img/node_modules/lwip/build' CXX(target) Release/obj.target/lwip_decoder/src/decoder/init.o make: g++:命令未找到 make: *** [Release/obj.target/lwip_decoder/src/decoder/init.o] 错误 127 make: Leaving directory/**_/node_img/node_modules/lwip/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/****/node-v4.4.4-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 2.6.32-573.el6.x8664
gyp ERR! command "/******/node-v4.4.4-linux-x64/bin/node" "/******_/node-v4.4.4-linux-x64/lib/node_modules/npm/nodemodules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /**/node_img/node_modules/lwip
gyp ERR! node -v v4.4.4
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm ERR! Linux 2.6.32-573.el6.x86_64
npm ERR! argv "/**/node-v4.4.4-linux-x64/bin/node" "/usr/local/bin/npm" "install" "lwip"
npm ERR! node v4.4.4
npm ERR! npm v2.15.1
npm ERR! code ELIFECYCLE
npm ERR! lwip@0.0.9 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the lwip@0.0.9 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the lwip 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 information on how to open an issue for this project with:
npm ERR! npm bugs lwip
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls lwip
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /*****/node_img/npm-debug.log
linux下安装失败 报错如下 *\ 是屏蔽掉的目录名
[root(0)@** 17:01:57 /*/node_img]# npm install lwip npm WARN package.json node_img@1.0.0 No description npm WARN package.json node_img@1.0.0 No repository field. npm WARN package.json node_img@1.0.0 No README data
npm WARN deprecated lodash-node@2.4.1: This package has been discontinued in favor of lodash@^4.0.0.
make: Entering directory
/*****/node_img/node_modules/lwip/build' CXX(target) Release/obj.target/lwip_decoder/src/decoder/init.o make: g++:命令未找到 make: *** [Release/obj.target/lwip_decoder/src/decoder/init.o] 错误 127 make: Leaving directory
/**_/node_img/node_modules/lwip/build' gyp ERR! build error gyp ERR! stack Error:make
failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/****/node-v4.4.4-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Linux 2.6.32-573.el6.x8664 gyp ERR! command "/******/node-v4.4.4-linux-x64/bin/node" "/******_/node-v4.4.4-linux-x64/lib/node_modules/npm/nodemodules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /**/node_img/node_modules/lwip gyp ERR! node -v v4.4.4 gyp ERR! node-gyp -v v3.3.1 gyp ERR! not ok npm ERR! Linux 2.6.32-573.el6.x86_64 npm ERR! argv "/**/node-v4.4.4-linux-x64/bin/node" "/usr/local/bin/npm" "install" "lwip" npm ERR! node v4.4.4 npm ERR! npm v2.15.1 npm ERR! code ELIFECYCLEnpm ERR! lwip@0.0.9 install:
node-gyp rebuild
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the lwip@0.0.9 install script 'node-gyp rebuild'. npm ERR! This is most likely a problem with the lwip 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 information on how to open an issue for this project with: npm ERR! npm bugs lwip npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm ERR! npm owner ls lwip npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request: npm ERR! /*****/node_img/npm-debug.log