Closed zachheine closed 8 years ago
You're on a Mac right?
I have windows 7 with Visual Studio 12 tools installed and am facing the same thing. python 2.7.6 and node some stable version are in place. Finding this problem since a week now.
You need to add your definitions to binging.gyp for windows. I added custom ones for mac. not sure what yours would be but when you figure it out please update this issue with your binding.gyp definitions
Can you try to build it again?
gyp: Unable to find targets in build file binding.gyp while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error:
gyp
failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/local/Cellar/node/0.10.18/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:424:16) 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 Darwin 14.0.0 gyp ERR! command "node" "/usr/local/Cellar/node/0.10.18/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--python=python2" gyp ERR! cwd /Users/zrh0/Desktop/modbus/node_modules/modbus gyp ERR! node -v v0.10.18 gyp ERR! node-gyp -v v0.10.9 gyp ERR! not oknpm ERR! weird error 1 npm ERR! not ok code 0