@j.e.f.f i tried the audit fix, and it told me to run npm install again to fix them, then i just get the big error message again, running me in a complete circle :/
Read the statement by Michael Teeuw here.
Posts made by jmartin1009
-
RE: issue with installing MMM-awesome-alexa
-
issue with installing MMM-awesome-alexa
Everything was working with Awesome-Alexa until i got to the command:
$ npm install --only=prod
once i put this in, i got a huge error message, that i dont even know where to start or what to do as this is my first mirror. Here is the output:
pi@raspberrypi:~/MagicMirror/modules/MMM-awesome-alexa $ npm install --only=prod > snowboy@1.2.0 preinstall /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy > npm install node-pre-gyp npm WARN deprecated cryptiles@2.0.5: This version is no longer maintained. Please upgrade to the latest version. npm WARN deprecated boom@2.10.1: This version is no longer maintained. Please upgrade to the latest version. npm WARN deprecated hoek@2.16.3: This version is no longer maintained. Please upgrade to the latest version. npm notice created a lockfile as package-lock.json. You should commit this file. + node-pre-gyp@0.6.39 added 114 packages from 78 contributors and audited 268 packages in 17.795s found 8 moderate severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details > snowboy@1.2.0 install /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy > node-pre-gyp install --fallback-to-build node-pre-gyp ERR! Tried to download(403): https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.2.0/Release/snowboy-v1.2.0-node-v64-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for snowboy@1.2.0 and node@10.15.1 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) node-pre-gyp ERR! Tried to download(undefined): https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.2.0/Release/snowboy-v1.2.0-node-v64-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for snowboy@1.2.0 and node@10.15.1 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) make: Entering directory '/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/build' make: Entering directory '/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/build' CXX(target) Release/obj.target/snowboy/swig/Node/snowboy.o CXX(target) Release/obj.target/snowboy/swig/Node/snowboy.o In file included from ../../nan/nan.h:192:0, from ../swig/Node/snowboy.cc:1: ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe Nan::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)’: ../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’ return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs); ^~~~~~~~ In file included from ../../nan/nan.h:192:0, from ../swig/Node/snowboy.cc:1: ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe Nan::ForceSet(v8::Local, v8::Local, v8::Local, v8::PropertyAttribute)’: ../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’ return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs); ^~~~~~~~ In file included from ../swig/Node/snowboy.cc:1:0: ../../nan/nan.h: In function ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)’: ../../nan/nan.h:835:60: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^ In file included from ../../nan/nan.h:49:0, from ../swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.1/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/pi/.node-gyp/10.15.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../swig/Node/snowboy.cc:1:0: ../../nan/nan.h: In function ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)’: ../../nan/nan.h:850:62: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^ In file included from ../../nan/nan.h:49:0, from ../swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.1/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/pi/.node-gyp/10.15.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../swig/Node/snowboy.cc:1:0: ../../nan/nan.h: In function ‘v8::Local Nan::MakeCallback(v8::Local, const char*, int, v8::Local*)’: ../../nan/nan.h:865:62: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, const char*, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv); ^ In file included from ../../nan/nan.h:49:0, from ../swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.1/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/pi/.node-gyp/10.15.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../swig/Node/snowboy.cc:1:0: ../../nan/nan.h: In member function ‘v8::Local Nan::Callback::Call_(v8::Isolate*, v8::Local, int, v8::Local*) const’: ../../nan/nan.h:1479:5: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^ In file included from ../../nan/nan.h:49:0, from ../swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.1/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/pi/.node-gyp/10.15.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../swig/Node/snowboy.cc:1:0: ../../nan/nan.h: In function ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)’: ../../nan/nan.h:835:60: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^ In file included from ../../nan/nan.h:49:0, from ../swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.1/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/pi/.node-gyp/10.15.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../swig/Node/snowboy.cc:1:0: ../../nan/nan.h: In function ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)’: ../../nan/nan.h:850:62: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^ In file included from ../../nan/nan.h:49:0, from ../swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.1/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/pi/.node-gyp/10.15.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../swig/Node/snowboy.cc:1:0: ../../nan/nan.h: In function ‘v8::Local Nan::MakeCallback(v8::Local, const char*, int, v8::Local*)’: ../../nan/nan.h:865:62: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, const char*, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv); ^ In file included from ../../nan/nan.h:49:0, from ../swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.1/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/pi/.node-gyp/10.15.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../swig/Node/snowboy.cc:1:0: ../../nan/nan.h: In member function ‘v8::Local Nan::Callback::Call_(v8::Isolate*, v8::Local, int, v8::Local*) const’: ../../nan/nan.h:1479:5: warning: ‘v8::Local node::MakeCallback(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^ In file included from ../../nan/nan.h:49:0, from ../swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.1/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local MakeCallback( ^ /home/pi/.node-gyp/10.15.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ snowboy.target.mk:107: recipe for target 'Release/obj.target/snowboy/swig/Node/snowboy.o' failed make: *** [Release/obj.target/snowboy/swig/Node/snowboy.o] Error 1 make: Leaving directory '/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:189:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.14.79-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node" "--module_name=snowboy" "--module_path=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm" gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy gyp ERR! node -v v10.15.1 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/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node --module_name=snowboy --module_path=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm' (1) node-pre-gyp ERR! stack at ChildProcess. (/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:189:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:970:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) node-pre-gyp ERR! System Linux 4.14.79-v7+ node-pre-gyp ERR! command "/usr/bin/node" "/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy node-pre-gyp ERR! node -v v10.15.1 node-pre-gyp ERR! node-pre-gyp -v v0.6.39 node-pre-gyp ERR! not ok snowboy.target.mk:107: recipe for target 'Release/obj.target/snowboy/swig/Node/snowboy.o' failed make: *** [Release/obj.target/snowboy/swig/Node/snowboy.o] Error 1 make: Leaving directory '/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/build' Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node --module_name=snowboy --module_path=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm' (1) gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:189:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.14.79-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node" "--module_name=snowboy" "--module_path=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm" gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy gyp ERR! node -v v10.15.1 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! snowboy@1.2.0 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the snowboy@1.2.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! /home/pi/.npm/_logs/2019-02-25T03_06_52_362Z-debug.log
If ANYONE is able to help it would be GREATLY appreciated. Thank you.
Also sorry if it is way too long, new here and don’t know how to shorten it. -
issue with installing MMM-awesome-alexa
Everything was working with Awesome-Alexa until i got to the command:
$ npm install --only=prod
once i put this in, i got a huge error message, that i dont even know where to start or what to do as this is my first mirror. Here is the output:
pi@raspberrypi:~/MagicMirror/modules/MMM-awesome-alexa $ npm install --only=prod > snowboy@1.2.0 preinstall /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy > npm install node-pre-gyp npm WARN deprecated cryptiles@2.0.5: This version is no longer maintained. Please upgrade to the latest version. npm WARN deprecated boom@2.10.1: This version is no longer maintained. Please upgrade to the latest version. npm WARN deprecated hoek@2.16.3: This version is no longer maintained. Please upgrade to the latest version. npm notice created a lockfile as package-lock.json. You should commit this file. + node-pre-gyp@0.6.39 added 114 packages from 78 contributors and audited 268 packages in 17.795s found 8 moderate severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details > snowboy@1.2.0 install /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy > node-pre-gyp install --fallback-to-build node-pre-gyp ERR! Tried to download(403): https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.2.0/Release/snowboy-v1.2.0-node-v64-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for snowboy@1.2.0 and node@10.15.1 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) node-pre-gyp ERR! Tried to download(undefined): https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.2.0/Release/snowboy-v1.2.0-node-v64-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for snowboy@1.2.0 and node@10.15.1 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) make: Entering directory '/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/build' make: Entering directory '/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/build' CXX(target) Release/obj.target/snowboy/swig/Node/snowboy.o CXX(target) Release/obj.target/snowboy/swig/Node/snowboy.o In file included from ../../nan/nan.h:192:0, from ../swig/Node/snowboy.cc:1: ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’: ../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’ return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs); ^~~~~~~~ In file included from ../../nan/nan.h:192:0, from ../swig/Node/snowboy.cc:1: ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’: ../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’ return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs); ^~~~~~~~ In file included from ../swig/Node/snowboy.cc:1:0: ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’: ../../nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^ In file included from ../../nan/nan.h:49:0, from ../swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.1/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/pi/.node-gyp/10.15.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../swig/Node/snowboy.cc:1:0: ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’: ../../nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^ In file included from ../../nan/nan.h:49:0, from ../swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.1/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/pi/.node-gyp/10.15.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../swig/Node/snowboy.cc:1:0: ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’: ../../nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv); ^ In file included from ../../nan/nan.h:49:0, from ../swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.1/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/pi/.node-gyp/10.15.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../swig/Node/snowboy.cc:1:0: ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’: ../../nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^ In file included from ../../nan/nan.h:49:0, from ../swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.1/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/pi/.node-gyp/10.15.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../swig/Node/snowboy.cc:1:0: ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’: ../../nan/nan.h:835:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, func, argc, argv); ^ In file included from ../../nan/nan.h:49:0, from ../swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.1/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/pi/.node-gyp/10.15.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../swig/Node/snowboy.cc:1:0: ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’: ../../nan/nan.h:850:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, symbol, argc, argv); ^ In file included from ../../nan/nan.h:49:0, from ../swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.1/include/node/node.h:170:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/pi/.node-gyp/10.15.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../swig/Node/snowboy.cc:1:0: ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’: ../../nan/nan.h:865:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] v8::Isolate::GetCurrent(), target, method, argc, argv); ^ In file included from ../../nan/nan.h:49:0, from ../swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.1/include/node/node.h:163:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/pi/.node-gyp/10.15.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ In file included from ../swig/Node/snowboy.cc:1:0: ../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’: ../../nan/nan.h:1479:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations] )); ^ In file included from ../../nan/nan.h:49:0, from ../swig/Node/snowboy.cc:1: /home/pi/.node-gyp/10.15.1/include/node/node.h:177:50: note: declared here NODE_EXTERN v8::Local<v8::Value> MakeCallback( ^ /home/pi/.node-gyp/10.15.1/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’ __attribute__((deprecated(message))) declarator ^~~~~~~~~~ snowboy.target.mk:107: recipe for target 'Release/obj.target/snowboy/swig/Node/snowboy.o' failed make: *** [Release/obj.target/snowboy/swig/Node/snowboy.o] Error 1 make: Leaving directory '/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:189:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.14.79-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node" "--module_name=snowboy" "--module_path=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm" gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy gyp ERR! node -v v10.15.1 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/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node --module_name=snowboy --module_path=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:189:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:970:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) node-pre-gyp ERR! System Linux 4.14.79-v7+ node-pre-gyp ERR! command "/usr/bin/node" "/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy node-pre-gyp ERR! node -v v10.15.1 node-pre-gyp ERR! node-pre-gyp -v v0.6.39 node-pre-gyp ERR! not ok snowboy.target.mk:107: recipe for target 'Release/obj.target/snowboy/swig/Node/snowboy.o' failed make: *** [Release/obj.target/snowboy/swig/Node/snowboy.o] Error 1 make: Leaving directory '/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/build' Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node --module_name=snowboy --module_path=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm' (1) gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:189:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Linux 4.14.79-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node" "--module_name=snowboy" "--module_path=/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm" gyp ERR! cwd /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy gyp ERR! node -v v10.15.1 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! snowboy@1.2.0 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the snowboy@1.2.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! /home/pi/.npm/_logs/2019-02-25T03_06_52_362Z-debug.log
If ANYONE is able to help it would be GREATLY appreciated. Thank you
-
RE: Having trouble with pyaudio for MMM-awesome-alexa
nevermind figured it out but idk how to mark as solved, had to get python dev stuff, heres a link if anyone else has issues:
SOLUTION -
Having trouble with pyaudio for MMM-awesome-alexa
i was able to do the setup for the line of
sudo apt-get install swig3.0 python-pyaudio python3-pyaudio sox
but when i tried to do
pip install pyaudio
i got a large error message saying:
pi@raspberrypi:~ $ pip install pyaudio Collecting pyaudio Downloading https://files.pythonhosted.org/packages/ab/42/b4f04721c5c5bfc196ce156b3c768998ef8c0ae3654ed29ea5020c749a6b/PyAudio-0.2.11.tar.gz Building wheels for collected packages: pyaudio Running setup.py bdist_wheel for pyaudio ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-iJzkjw/pyaudio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpTyBzJLpip-wheel- --python-tag cp27: running bdist_wheel running build running build_py creating build creating build/lib.linux-armv7l-2.7 copying src/pyaudio.py -> build/lib.linux-armv7l-2.7 running build_ext building '_portaudio' extension creating build/temp.linux-armv7l-2.7 creating build/temp.linux-armv7l-2.7/src arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-Ub3vap/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/_portaudiomodule.c -o build/temp.linux-armv7l-2.7/src/_portaudiomodule.o src/_portaudiomodule.c:29:23: fatal error: portaudio.h: No such file or directory #include "portaudio.h" ^ compilation terminated. error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 ---------------------------------------- Failed building wheel for pyaudio Running setup.py clean for pyaudio Failed to build pyaudio Installing collected packages: pyaudio Running setup.py install for pyaudio ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-iJzkjw/pyaudio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-UfXgaL-record/install-record.txt --single-version-externally-managed --compile --user --prefix=: running install running build running build_py creating build creating build/lib.linux-armv7l-2.7 copying src/pyaudio.py -> build/lib.linux-armv7l-2.7 running build_ext building '_portaudio' extension creating build/temp.linux-armv7l-2.7 creating build/temp.linux-armv7l-2.7/src arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-Ub3vap/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/_portaudiomodule.c -o build/temp.linux-armv7l-2.7/src/_portaudiomodule.o src/_portaudiomodule.c:29:23: fatal error: portaudio.h: No such file or directory #include "portaudio.h" ^ compilation terminated. error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 ---------------------------------------- Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-iJzkjw/pyaudio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-UfXgaL-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-iJzkjw/pyaudio/
how do i fix this?
-
RE: Can't seem to get PlayStation 3 Eye Camera to work
@jmartin1009 nevermind I didn’t realize that entire time if I hit enter it would just make the file 🤦🏻♂️ I thought I had to go into files and everything, thank you!
-
RE: Can't seem to get PlayStation 3 Eye Camera to work
@sdetweil when I try to edit the name of the asound.conf.save file in order to create a new around.conf file, it tells me I don’t have permission to do it, or to delete it or really do anything with the file as well as that I don’t have permission to make a new file in the /etc/ folder. What do I do?
-
RE: Can't seem to get PlayStation 3 Eye Camera to work
@chris @sdetweil @yawns I was able to edit the asoundrc file, but the .conf file wasn’t showing up as I was looking with the hidden files on, the only asound.conf files I could find were asound.conf.swp and asound.conf.save. I’m also kind of confused about how to save a new file in the terminal if I do the sudo nano method, because I was able to get into etc/ from there but it was only trying to have to overwrite a file, not create a new one, if there is a way to create a new file altogether for asound.conf, then I would like to know how to do that because it’s not appearing in hidden files and when I make the file in the terminal it seems like I can only overwrite. Thank you!
-
RE: Can't seem to get PlayStation 3 Eye Camera to work
@yawns what about the asound.conf file though? I can’t find it or create a new one to put that code in :/ but thanks for the help with the pavucontrol haha I didnt notice I read it wrong
-
RE: Can't seem to get PlayStation 3 Eye Camera to work
@chris also when i tried to do the second line of the pulseaudio install, i got
pi@raspberrypi:~ $ sudo apt-get install pauvcontrol gstreamer0.10-pulseaudio Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package pauvcontrol
what do i do to fix this, thanks!