1

当我尝试按照https://github.com/rwldrn/johnny-five上的说明进行操作时,我不断收到此错误消息。我正在尝试在 NodeBots 日安装这个库,但遇到了问题。我在 WMware 虚拟机上运行 Ubuntu 12.04。我认为这与 Arduino 串行端口缺乏检测有关,但我修复了该灰色错误。

这似乎是一个节点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
4

0 回答 0