pi@raspberrypi:~/MagicMirror/modules/MMM-awesome-alexa $ npm install --only=prod
snowboy@1.3.1 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.3.1/Release/snowboy-v1.3.1-node-v64-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for snowboy@1.3.1 and node@10.16.3 (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.3.1/Release/snowboy-v1.3.1-node-v64-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for snowboy@1.3.1 and node@10.16.3 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'nan'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at [eval]:1:1
at Script.runInThisContext (vm.js:122:20)
at Object.runInThisContext (vm.js:329:38)
at Object.<anonymous> ([eval]-wrapper:6:22)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at evalScript (internal/bootstrap/node.js:589:27)
gyp: Call to 'node -e "require('nan')"' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.19.75-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--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.16.3
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 configure --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/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
node-pre-gyp ERR! System Linux 4.19.75-v7+
node-pre-gyp ERR! command "/usr/bin/node" "/home/pi/MagicMirror/modules/MMM-awesome-alexa/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.16.3
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --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)
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'nan'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at [eval]:1:1
at Script.runInThisContext (vm.js:122:20)
at Object.runInThisContext (vm.js:329:38)
at Object.<anonymous> ([eval]-wrapper:6:22)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at evalScript (internal/bootstrap/node.js:589:27)
gyp: Call to 'node -e "require('nan')"' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 4.19.75-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--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.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! snowboy@1.3.1 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the snowboy@1.3.1 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-10-28T06_27_08_421Z-debug.log
pi@raspberrypi:~/MagicMirror/modules/MMM-awesome-alexa $
Read the statement by Michael Teeuw here.
Posts
-
help, auxilio, someone, alguien,
-
RE: I need help to get MMM-Voice-Commands working
yes i did it, but it only activate once with the voice command, (hello mirror) and then when i deactivate with voice comnand (goodbye mirror) now i try to activate it dont respond
-
RE: I need help to get MMM-Voice-Commands working
who know how i do to install annyang, for my voice command
-
RE: Need help with MMM-voice, getting errors
@strawberry-3-141 , thanks i wil try
-
RE: Need help with MMM-voice, getting errors
@broberg thanks for your help… but they are differents modules of voice command, check it out and you can see is true .
i am only trying to install a voice command that works for my magic mirror -
Need help with MMM-voice, getting errors
someone can help with this, where is the error?¿?¿ i am trying to install a voice command
{ module: "MMM-Snow", position: "fullscreen_above", config: { // See 'Configuration options' for more information. flakeCount: 100, theme: "winter", } }, { module: 'MMM-voice', position: 'bottom_bar', config: { microphone: 1, ... } } ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}when i run the magic mirror this error appears :
Starting MagicMirror: v2.8.0 Loading config ... WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:106 } ^ SyntaxError: Unexpected token } at new Script (vm.js:74:7) at createScript (vm.js:246:10) at Object.runInThisContext (vm.js:298:10) at Module._compile (internal/modules/cjs/loader.js:678:28) at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10) at Module.load (internal/modules/cjs/loader.js:620:32) at tryModuleLoad (internal/modules/cjs/loader.js:559:12) at Function.Module._load (internal/modules/cjs/loader.js:551:3) at Module.require (internal/modules/cjs/loader.js:658:17) at require (internal/modules/cjs/helpers.js:20:18) Loading module helpers ... Initializing new module helper ... Module helper loaded: updatenotification No helper found for module: helloworld. All module helpers loaded. Starting server on port 8080 ... Server started ... Connecting socket for: updatenotification Sockets connected & modules started ... Launching application.´ -
RE: Default Modules
who knows what the module ; Hello World does
is this a voice command or news
i want to know what is the function of ; Hello World
how i can activate it
-
RE: Introduce yourself!
hi i am alex, magic mirror is awesome…
is a placer stay here,
i want to install a voice command , if has someone a module easy install…someone know about mmm.awesome.alexa voice command, is working???

-
I need help to get MMM-Voice-Commands working
https://github.com/Veldrovive/MMM-Voice-Commands
it looks just like this:
{ module: "MMM-Voice-Commands", config: { debug: false, //Displays end results and errors from annyang in the Log autoStart: true, //Adds annyang commands when it first starts activateCommand: "hello mirror", //Command to active all other commands deactivateCommand: "goodbye mirror", //Command to deactivate all other commands alertHeard: false, //Whether an alert should be shown when annyang hears a phrase (mostly for debug) commands: { "command statement :variable (optional statement)": "SOCKET_NOTIFICATION_NAME", //The payload of the socket notification will be whatever is said in the :variable "command statement *variable": function(param){ alert("Whatever is said in the *variable space is given as the "+param); //These function's 'this' are bound to the module's 'this' so you can do stuff like: this.sendNotification("PAGE_SELECT", "2"); } } } },NOW, MY MAGIC MIRROR IS WORKING BUT THE VOICE COMMAND IS NOT RESPONDING, AND I WAS READING THIS MODULE NEED ANNYANG, BUT I DONT KNOW HOW I DO TO INSTALL ((ANNYANG)) SOMEONE HELP WITH THIS PLEASE
OR SOMEONE WHO HAS A VOICE COMMAND THAT IS WORKING THAT CAN SHARE IT TO ME. PLEASE
-
RE: how do i update my magic mirror
now is this faaak :(
Starting MagicMirror: v2.8.0
Loading config …
WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:121
if (typeof module !== “undefined”) {module.exports = config;}
^^SyntaxError: Unexpected token if
at new Script (vm.js:74:7)
at createScript (vm.js:246:10)
at Object.runInThisContext (vm.js:298:10)
at Module._compile (internal/modules/cjs/loader.js:678:28)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:722:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
at Function.Module._load (internal/modules/cjs/loader.js:551:3)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:20:18)i dont know how find the line 121
i am very noob in this -
RE: how do i update my magic mirror
thank bro for your time, but i am copying and paste in the last line in the config file, but i dont know whats is my error
in this moment its looks like this:{ module: "MMM-Voice-Commands", config: { debug: false, //Displays end results and errors from annyang in the Log autoStart: true, //Adds annyang commands when it first starts activateCommand: "hello mirror", //Command to active all other commands deactivateCommand: "goodbye mirror", //Command to deactivate all other commands alertHeard: false, //Whether an alert should be shown when annyang hears a phrase (mostly for debug) commands: { "command statement :variable (optional statement)": "SOCKET_NOTIFICATION_NAME", //The payload of the socket notification will be whatever is said in the :variable "command statement *variable": function(param){ alert("Whatever is said in the *variable space is given as the "+param); //These function's 'this' are bound to the module's 'this' so you can do stuff like: this.sendNotification("PAGE_SELECT", "2"); } } }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;} -
RE: how do i update my magic mirror
ERROR???¿?¿?? :( :(
magicmirror@2.8.0 start /home/pi/MagicMirror
sh run-start.shStarting MagicMirror: v2.8.0
Loading config …
WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:111
“command statement *variable”: function(param){ < ---- start
^SyntaxError: Unexpected token <
at new Script (vm.js:74:7)
at createScript (vm.js:246:10)
at Object.runInThisContext (vm.js:298:10)
at Module._compile (internal/modules/cjs/loader.js:678:28)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:722:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
at Function.Module._load (internal/modules/cjs/loader.js:551:3)
at Module.require (internal/modules/cjs/loader.js:658:17)
at require (internal/modules/cjs/helpers.js:20:18) -
RE: how do i update my magic mirror
@Stoffbeuteluwe THANKS but dont work :
cd ~\MagicMirror
git pullthanks dude, i have another problem, i want to install a command voice but idont know whats is the error…
i check the config
Checking file… /home/pi/MagicMirror/config/config.js
Line 117 col 10 Expected ‘}’ to match ‘{’ from line 102 and instead saw ‘]’.
Line 118 col 6 Expected ‘]’ to match ‘[’ from line 28 and instead saw ‘;’.
Line 121 col 1 Expected ‘}’ to match ‘{’ from line 11 and instead saw ‘if’.
Line 121 col 4 Bad invocation.
Line 121 col 35 Missing semicolon.AND this are the line:
{ module: "MMM-Snow", position: "fullscreen_above", config: { // See 'Configuration options' for more information. flakeCount: 100, theme: "winter", } }, { module: "MMM-Voice-Commands", config: { debug: false, //Displays end results and errors from annyang in the Log autoStart: true, //Adds annyang commands when it first starts activateCommand: "hello mirror", //Command to active all other commands deactivateCommand: "goodbye mirror", //Command to deactivate all other commands alertHeard: false, //Whether an alert should be shown when annyang hears a phrase (mostly for debug) commands: { "command statement :variable (optional statement)": "SOCKET_NOTIFICATION_NAME", //The payload of the socket notification will be whatever is said in the :variable "command statement *variable": function(param){ < ---- start alert("Whatever is said in the *variable space is given as the "+param); //These function's 'this' are bound to the module's 'this' so you can do stuff like: this.sendNotification("PAGE_SELECT", "2"); } } ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;} -
how do i update my magic mirror
how i can update this?
on my magic mirror appears on top one new update, but i dont know how to do it.

-
RE: hi, i need your help... tell me, how i do a new modules please
hey bro, i need help with mmm.awesomealexa… you know if this module is working
-
RE: hi, i need your help... tell me, how i do a new modules please
HEY BRO YOU ARE AWESOME … THANK YOU DUDE, I AM VERY HAPPY! IS WORKING … HEY BRO YOU HAVE WHATSAPP THIS MY NUMBER 504 98674031 … I AM GONNA BE NEEDING YOU, IN MY NEXT MODULES INSTALLATIONS… THANKS

-
RE: hi, i need your help... tell me, how i do a new modules please
mmmm sorry , i dont understand… :( my magic mirror is run perfect , whitout this module

AND THIS is , file MM-Snow.js
/* Magic Mirror * Module: MMM-Snow * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. * * Comment on terminology: a 'flake' is any moving item being shown on the mirror, while * the specific themed items are called 'snow' or 'heart'. This applies to variable names * file names and css class names. */ Module.register("MMM-Snow",{ defaults: { flakeCount: 100, theme: "winter" // pick from themes map below, i.e. winter, love }, themes: { "winter" : { "flakePrefix" : "snow", // prefix of css name, e.g. snow1 "imagesCount" : 3, // number of images available in this theme, here: snow1, snow2, snow3 "downwards" : true, // direction of flake movements, snow goes downwards "sizeFactor" : 1}, // adapt size of flakes to your liking, use original flake size "love" : { "flakePrefix" : "heart", // prefix of css name, e.g. heart1 "imagesCount" : 2, // number of images in this theme, here: heart1, heart2 "downwards" : false, // direction of flake movements, hearts raise upwards "sizeFactor" : 2}, // adapt size of flakes to your liking, we like bigger hearts "water" : { "flakePrefix" : "bubble", // prefix of css name, e.g. bubble1 "imagesCount" : 1, // number of images in this theme, here: bubble1 "downwards" : false, // direction of flake movements, bubbles raise upwards "sizeFactor" : 2} // adapt size of flakes to your liking, we like bigger bubbles }, getStyles: function() { return [ "MMM-Snow.css" ] }, getDom: function() { var themeSettings = this.themes[this.config.theme]; var wrapper = document.createElement("div") wrapper.className = "wrapper" var flake, jiggle, size; for(var i = 0; i < this.config.flakeCount; i++) { size = themeSettings.sizeFactor * (Math.random() * 0.75) + 0.25; flakeImage = document.createElement("div") var flakeSuffix = Math.round(1 + Math.random() * (themeSettings.imagesCount - 1)); flakeImage.className = themeSettings.flakePrefix + flakeSuffix; flakeImage.style.transform = "scale(" + size +", " + size + ")"; flakeImage.style.opacity = size; flake = document.createElement("div"); if(themeSettings.downwards) { flake.className = "flake-downwards"; } else { flake.className = "flake-upwards" } jiggle = document.createElement("div"); jiggle.style.animationDelay = (Math.random() * 4) + "s"; jiggle.style.animationDuration = ((Math.random() * 30) + 30) + "s"; jiggle.appendChild(flakeImage); size = (Math.random() * 0.75) + 0.25; jiggle.style.transform = "scale(" + size +", " + size + ")"; jiggle.style.opacity = size; flake.appendChild(jiggle); flake.style.left = ((Math.random() * 100) - 10) + "%"; flake.style.animationDelay = (Math.random() * 100) + "s"; flake.style.animationDuration = 100 - (Math.random() * 50 * size) + "s"; wrapper.appendChild(flake); } return wrapper; } }); -
RE: hi, i need your help... tell me, how i do a new modules please
this is a little part the file, config.js… tell me please whats is my wrong.
i can install all magic mirror, in that is ok
but i want install, alexa awesome, comand voice and other modules, and i have realy problem… :( thank dude for you help…
}, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true } }, { module: "MMM-Snow", position: "fullscreen_above", config: { // See 'Configuration options' for more information. flakeCount: 100, theme: "winter", } } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;} -
RE: hi, i need your help... tell me, how i do a new modules please
in this moment, i am fix the comma, but no work it. now i am check the configuration and see like this…
Checking file… /home/pi/MagicMirror/config/config.js
Line 100 col 9 Expected ‘]’ to match ‘[’ from line 28 and instead saw ‘}’.
Line 101 col 5 Expected ‘}’ to match ‘{’ from line 11 and instead saw ‘]’.
Line 101 col 6 Missing semicolon.
Line 101 col 5 Unrecoverable syntax error. (94% scanned).