Since, we were making no progress on issue #17, I decided to start from scratch on another host. But now even npm install fails.
After downloading lots of stuff the make fails.
Here are the details:
CXX(target) Release/obj.target/grpc_node/src/node/ext/byte_buffer.o
../src/node/ext/byte_buffer.cc: In function \u2018v8::Local grpc::node::MakeFastBuffer(v8::Local)\u2019:
../src/node/ext/byte_buffer.cc:99:72: warning: \u2018v8::Local v8::Function::NewInstance(int, v8::Local) const\u2019 is deprecated (declared at /home/nagin/.node-gyp/7.2.1/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations]
Local) const\u2019 is deprecated (declared at /home/nagin/.node-gyp/7.2.1/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations]
argc, argv);
^
make: *** [Release/obj.target/grpc_node/src/node/ext/call.o] Error 1
make: Leaving directory `/home/nagin/work/src/github.com/fabric-boilerplate/node_modules/grpc/build'
make: *** [Release/obj.target/grpc_node/src/node/ext/call.o] Error 1
make: Leaving directory /home/nagin/work/src/github.com/fabric-boilerplate/node_modules/grpc/build' gyp ERR! build error gyp ERR! stack Error:make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/nagin/work/src/github.com/fabric-boilerplate/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 3.19.0-25-generic
gyp ERR! command "/usr/local/bin/node" "/home/nagin/work/src/github.com/fabric-boilerplate/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/nagin/work/src/github.com/fabric-boilerplate/node_modules/grpc/src/node/extension_binary/grpc_node.node" "--module_name=grpc_node" "--module_path=/home/nagin/work/src/github.com/fabric-boilerplate/node_modules/grpc/src/node/extension_binary"
gyp ERR! cwd /home/nagin/work/src/github.com/fabric-boilerplate/node_modules/grpc
gyp ERR! node -v v7.2.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
Since, we were making no progress on issue #17, I decided to start from scratch on another host. But now even npm install fails. After downloading lots of stuff the make fails. Here are the details: CXX(target) Release/obj.target/grpc_node/src/node/ext/byte_buffer.o ../src/node/ext/byte_buffer.cc: In function \u2018v8::Local grpc::node::MakeFastBuffer(v8::Local)\u2019:
../src/node/ext/byte_buffer.cc:99:72: warning: \u2018v8::Local v8::Function::NewInstance(int, v8::Local) const\u2019 is deprecated (declared at /home/nagin/.node-gyp/7.2.1/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations]
Local) const\u2019 is deprecated (declared at /home/nagin/.node-gyp/7.2.1/include/node/v8.h:3287): Use maybe version [-Wdeprecated-declarations]
argc, argv);
^
make: *** [Release/obj.target/grpc_node/src/node/ext/call.o] Error 1
make: Leaving directory `/home/nagin/work/src/github.com/fabric-boilerplate/node_modules/grpc/build'
make: *** [Release/obj.target/grpc_node/src/node/ext/call.o] Error 1 make: Leaving directory
/home/nagin/work/src/github.com/fabric-boilerplate/node_modules/grpc/build' gyp ERR! build error gyp ERR! stack Error:
make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/home/nagin/work/src/github.com/fabric-boilerplate/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Linux 3.19.0-25-generic gyp ERR! command "/usr/local/bin/node" "/home/nagin/work/src/github.com/fabric-boilerplate/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/nagin/work/src/github.com/fabric-boilerplate/node_modules/grpc/src/node/extension_binary/grpc_node.node" "--module_name=grpc_node" "--module_path=/home/nagin/work/src/github.com/fabric-boilerplate/node_modules/grpc/src/node/extension_binary" gyp ERR! cwd /home/nagin/work/src/github.com/fabric-boilerplate/node_modules/grpc gyp ERR! node -v v7.2.1 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not oklots of errors after this.
I did the nodejs v7 install based on https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions for Ubuntu $ npm -v 3.10.10 $ nodejs -v v7.3.0