Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with node v8.1.3? #119

Open
snowwolf007cn opened this issue Jul 25, 2017 · 1 comment
Open

Not compatible with node v8.1.3? #119

snowwolf007cn opened this issue Jul 25, 2017 · 1 comment

Comments

@snowwolf007cn
Copy link

1 warning and 1 error generated.
make: *** [Release/obj.target/grpc_node/src/node/ext/call.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/zhangzhi/workspace/car-lease-demo/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at emitTwo (events.js:125:13)
gyp ERR! stack at ChildProcess.emit (events.js:213:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:197:12)
gyp ERR! System Darwin 16.7.0
gyp ERR! command "/usr/local/Cellar/node/8.1.3/bin/node" "/Users/zhangzhi/workspace/car-lease-demo/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/zhangzhi/workspace/car-lease-demo/node_modules/grpc/src/node/extension_binary/grpc_node.node" "--module_name=grpc_node" "--module_path=/Users/zhangzhi/workspace/car-lease-demo/node_modules/grpc/src/node/extension_binary"
gyp ERR! cwd /Users/zhangzhi/workspace/car-lease-demo/node_modules/grpc
gyp ERR! node -v v8.1.3
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/8.1.3/bin/node /Users/zhangzhi/workspace/car-lease-demo/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/zhangzhi/workspace/car-lease-demo/node_modules/grpc/src/node/extension_binary/grpc_node.node --module_name=grpc_node --module_path=/Users/zhangzhi/workspace/car-lease-demo/node_modules/grpc/src/node/extension_binary' (1)
node-pre-gyp ERR! stack at ChildProcess. (/Users/zhangzhi/workspace/car-lease-demo/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:125:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:213:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:897:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:208:5)
node-pre-gyp ERR! System Darwin 16.7.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/8.1.3/bin/node" "/Users/zhangzhi/workspace/car-lease-demo/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/zhangzhi/workspace/car-lease-demo/node_modules/grpc
node-pre-gyp ERR! node -v v8.1.3
node-pre-gyp ERR! node-pre-gyp -v v0.6.29
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/Cellar/node/8.1.3/bin/node /Users/zhangzhi/workspace/car-lease-demo/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/zhangzhi/workspace/car-lease-demo/node_modules/grpc/src/node/extension_binary/grpc_node.node --module_name=grpc_node --module_path=/Users/zhangzhi/workspace/car-lease-demo/node_modules/grpc/src/node/extension_binary' (1)
npm WARN Car-Lease-Demo@0.7.3 No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! grpc@1.0.0 install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the grpc@1.0.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/zhangzhi/.npm/_logs/2017-07-25T02_12_25_531Z-debug.log

@kavinaravind
Copy link

If you look at the pre-reqs for installing locally, it says NodeJS v6.x. I used nvm to install v6.10 and was able to call npm install with no issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants