gregsqueeb / consultDash

A program to read from a Nissan Consult port and display a dashboard. This was originally meant to be run on a raspberry pi and used as a dashboard
158 stars 54 forks source link

Issue in npm install (Please Help me Out) #6

Closed harshp45 closed 7 years ago

harshp45 commented 7 years ago

npm WARN package.json hello-world@ No repository field.

utf-8-validate@1.2.2 install /home/pi/consultDash/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate node-gyp rebuild

make: Entering directory '/home/pi/consultDash/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate/build' CXX(target) Release/obj.target/validation/src/validation.o In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h:324:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’ static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8; ^ validation.target.mk:84: recipe for target 'Release/obj.target/validation/src/validation.o' failed make: *** [Release/obj.target/validation/src/validation.o] Error 1 make: Leaving directory '/home/pi/consultDash/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12) gyp ERR! System Linux 4.4.38-v7+ gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild" gyp ERR! cwd /home/pi/consultDash/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate gyp ERR! node -v v0.10.29 gyp ERR! node-gyp -v v0.12.2 gyp ERR! not ok npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian

bufferutil@1.2.1 install /home/pi/consultDash/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil node-gyp rebuild

make: Entering directory '/home/pi/consultDash/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o In file included from ../node_modules/nan/nan.h:199:0, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_maybe_pre_43_inl.h: In function ‘Nan::Maybe Nan::DefineOwnProperty(v8::Handle, v8::Handle, v8::Handle, v8::PropertyAttribute)’: ../node_modules/nan/nan_maybe_pre_43_inl.h:158:44: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] !(current & v8::ReadOnly) && // writable AND ^ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: At global scope: ../node_modules/nan/nan.h:331:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’ static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8; ^ bufferutil.target.mk:84: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1 make: Leaving directory '/home/pi/consultDash/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12) gyp ERR! System Linux 4.4.38-v7+ gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild" gyp ERR! cwd /home/pi/consultDash/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil gyp ERR! node -v v0.10.29 gyp ERR! node-gyp -v v0.12.2 gyp ERR! not ok npm WARN optional dep failed, continuing utf-8-validate@1.2.2 npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian

utf-8-validate@1.2.2 install /home/pi/consultDash/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate node-gyp rebuild

make: Entering directory '/home/pi/consultDash/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate/build' CXX(target) Release/obj.target/validation/src/validation.o In file included from ../src/validation.cc:15:0: ../node_modules/nan/nan.h:324:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’ static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8; ^ validation.target.mk:84: recipe for target 'Release/obj.target/validation/src/validation.o' failed make: *** [Release/obj.target/validation/src/validation.o] Error 1 make: Leaving directory '/home/pi/consultDash/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12) gyp ERR! System Linux 4.4.38-v7+ gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild" gyp ERR! cwd /home/pi/consultDash/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate gyp ERR! node -v v0.10.29 gyp ERR! node-gyp -v v0.12.2 gyp ERR! not ok npm WARN optional dep failed, continuing bufferutil@1.2.1 npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian

bufferutil@1.2.1 install /home/pi/consultDash/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil node-gyp rebuild

make: Entering directory '/home/pi/consultDash/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o In file included from ../node_modules/nan/nan.h:199:0, from ../src/bufferutil.cc:16: ../node_modules/nan/nan_maybe_pre_43_inl.h: In function ‘Nan::Maybe Nan::DefineOwnProperty(v8::Handle, v8::Handle, v8::Handle, v8::PropertyAttribute)’: ../node_modules/nan/nan_maybe_pre_43_inl.h:158:44: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] !(current & v8::ReadOnly) && // writable AND ^ In file included from ../src/bufferutil.cc:16:0: ../node_modules/nan/nan.h: At global scope: ../node_modules/nan/nan.h:331:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’ static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8; ^ bufferutil.target.mk:84: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1 make: Leaving directory '/home/pi/consultDash/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12) System Linux 4.4.38-v7+ gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild" gyp ERR! cwd /home/pi/consultDash/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil gyp ERR! node -v v0.10.29 gyp ERR! node-gyp -v v0.12.2 gyp ERR! not ok npm WARN optional dep failed, continuing utf-8-validate@1.2.2 npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian

npm WARN optional dep failed, continuing bufferutil@1.2.1 \

serialport@2.1.2 install /home/pi/consultDash/node_modules/serialport node-pre-gyp install --fallback-to-build

make: Entering directory '/home/pi/consultDash/node_modules/serialport/build' CXX(target) Release/obj.target/serialport/src/serialport.o In file included from ../src/./serialport.h:7:0, from ../src/serialport.cpp:1: ../node_modules/nan/nan.h:328:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’ static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8; ^ serialport.target.mk:84: recipe for target 'Release/obj.target/serialport/src/serialport.o' failed make: *** [Release/obj.target/serialport/src/serialport.o] Error 1 make: Leaving directory '/home/pi/consultDash/node_modules/serialport/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12) gyp ERR! System Linux 4.4.38-v7+ gyp ERR! command "nodejs" "/usr/bin/node-gyp" "build" "--fallback-to-build" "--module=/home/pi/consultDash/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/home/pi/consultDash/node_modules/serialport/build/Release" gyp ERR! cwd /home/pi/consultDash/node_modules/serialport gyp ERR! node -v v0.10.29 gyp ERR! node-gyp -v v0.12.2 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp build --fallback-to-build --module=/home/pi/consultDash/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/home/pi/consultDash/node_modules/serialport/build/Release' (1) node-pre-gyp ERR! stack at ChildProcess. (/home/pi/consultDash/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:98:17) node-pre-gyp ERR! stack at maybeClose (child_process.js:755:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:822:5) node-pre-gyp ERR! System Linux 4.4.38-v7+ node-pre-gyp ERR! command "node" "/home/pi/consultDash/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /home/pi/consultDash/node_modules/serialport node-pre-gyp ERR! node -v v0.10.29 node-pre-gyp ERR! node-pre-gyp -v v0.6.26 node-pre-gyp ERR! not ok Failed to execute 'node-gyp build --fallback-to-build --module=/home/pi/consultDash/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/home/pi/consultDash/node_modules/serialport/build/Release' (1) npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian

npm ERR! serialport@2.1.2 install: node-pre-gyp install --fallback-to-build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the serialport@2.1.2 install script. npm ERR! This is most likely a problem with the serialport package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-pre-gyp install --fallback-to-build npm ERR! You can get their info via: npm ERR! npm owner ls serialport npm ERR! There is likely additional logging output above.

npm ERR! System Linux 4.4.38-v7+ npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! cwd /home/pi/consultDash npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.21 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/pi/consultDash/npm-debug.log npm ERR! not ok code 0