当我尝试按照https://github.com/rwldrn/johnny-five上的说明操作时,我不断收到此错误消息。我正在尝试为NodeBots安装这个库,我遇到了问题。我在WMware虚拟机上运行Ubuntu 12.04。我认为它与Arduino serialport缺乏检测有关,但我修复了灰色错误。
这似乎是一个节点gyp问题。它可能是什么,我该怎么办?
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node- gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Linux 3.5.0-27-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/euridice/johnny-five/node_modules/serialport
gyp ERR! node -v v0.10.15
gyp ERR! node-gyp -v v0.10.6
gyp ERR! not ok
npm ERR! weird error 1