taoong / mia-empathy

Customizable empathy test, developed for use at the Minneapolis Art Institute (MIA).
https://mia-empathy.firebaseapp.com
Creative Commons Attribution 4.0 International
0 stars 1 forks source link

NPM Install fails. #3

Closed damnabit closed 5 years ago

damnabit commented 5 years ago

Using Node: v12.6.0

gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/usr/src/app/node_modules/grpc/src/node/extension_binary/node-v72-linux-x64-glibc/grpc_node.node --module_name=grpc_node --module_path=/usr/src/app/node_modules/grpc/src/node/extension_binary/node-v72-linux-x64-glibc --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/usr/src/app/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:203:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) node-pre-gyp ERR! System Linux 4.9.184-linuxkit node-pre-gyp ERR! command "/usr/local/bin/node" "/usr/src/app/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library" node-pre-gyp ERR! cwd /usr/src/app/node_modules/grpc node-pre-gyp ERR! node -v v12.6.0 node-pre-gyp ERR! node-pre-gyp -v v0.12.0 node-pre-gyp ERR! not ok

I was able to get it to build using node 8.4.0, so just to point out you might need to specify which version you've tested with.

taoong commented 5 years ago

Got it, I got it working with the last stable version (v10.16.0) and specified it in the readme. Let me know if this is ok.

damnabit commented 5 years ago

Yes, this definitely help clarify.