A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • issue with installing MMM-awesome-alexa

    Unsolved
    1
    0 Votes
    1 Posts
    808 Views
    J
    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
  • Having trouble with pyaudio for MMM-awesome-alexa

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    J
    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
  • 2318 commits behind...

    Solved
    17
    0 Votes
    17 Posts
    10k Views
    CyruS1337C
    @sdetweil said in 2318 commits behind...: rm package-lock.json rm vendor/package-lock.json Thank you for your quick help. Everything works :)
  • Autostart MM after reboot doesn't work

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    Mykle1M
    @ferra1980 said in Autostart MM after reboot doesn't work: I tried to wait, but it is on for 1 hour and I only see the desktop, I think something does not work Ok, waiting an hour is quite long enough. I hope you have success following the link that chris gave you. :thumbsup:
  • Problems getting setup on Raspberry Pi Desktop (for PC and Mac)

    Unsolved
    18
    0 Votes
    18 Posts
    8k Views
    blake_northrupB
    @mykle1 I decided to just run Dakboard VIA the Chromium browser on it. I’v got a couple of other computers that I am going to use for the other Magic Mirror. I have an old Pentium 4 Dell, that I put Linux Mint on, and it runs like a champ. Way better than the one I run on my Raspberry Pi3.
  • Infrared Touch Frame - rotate?

    Unsolved
    7
    0 Votes
    7 Posts
    4k Views
    peemoellerP
    @sdetweil That worked! Nice :) In Terminal I entered: chmod +x portrait.sh Then executed the portrait.sh file I made and the touch IR is now set to portrait. So happy, thanks for your help buddy! I’ve re-ran the “Calibrate Touchscreen” in Preferences again too. It reads: < Calibrating standard Xorg driver “Multi touch overlay device” current calibration values: min_x=0, max_x=65535 and min_y=0, max_y=65535 If these values are estimating wrong, either supply it manually with the - -precalib option, or run the ‘get_precalib.sh’ script to automatically get it (through HAL). > I find the touch curser doesn’t reach the the edges of my monitor. Example I can’t simply click on the Raspberry Icon in the corner. The curser is diaginally 2 inches away? Where can I set or adjust this? Any thoughts? Fun!
  • Calendar cuts off the dates

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    S
    @travelguy85 were u able to fix it? if so, please mark you issue resolved…
  • Mouse arrow doesn't hide after MagicMirror is loaded

    Solved
    3
    0 Votes
    3 Posts
    3k Views
    Cr4z33C
    @ejay-ibm it helps A LOT thanks! 👍🏼
  • Total rookie, got it "running" but need help

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    ejay-ibmE
    @motdog said in Total rookie, got it "running" but need help: timeFormat: 12 You are missing a comma at line 25 it should be timeFormat: 12, Ejay
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
  • polish words in newsfeed dont work

    Unsolved
    1
    0 Votes
    1 Posts
    669 Views
    S
    Hi guys, I have problem with polish words in newsfeed, i installed and changed fonts style but isnt working :-( [image: 1550698517128-dd.png] [image: 1550698543210-cc.png]
  • IR Frame doesn't rotate

    24
    0 Votes
    24 Posts
    22k Views
    peemoellerP
    @cowboysdude I have the IR frame and xinput installed but not sure where to edit the crontab -e. I am a little new to this, are you able to give me some step by step directions to help rotate my IR touch frame? Appreciate any help! Thanks :)
  • Address already in use error message for google assistant on Pi

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    B
    Please use the markdown features of the board when posting code.
  • Installing the dependencies - Can't finish the installation.

    Unsolved
    9
    0 Votes
    9 Posts
    4k Views
    shreyashS
    @lavolp3 Thank you ! it is done by clear overwrite method !
  • MMM-NOAA3 Too Many API Calls

    Solved
    1
    0 Votes
    1 Posts
    567 Views
    D
    @cowboysdude there seems to be a problem think you released an update yesterday or the day before and it’s maxed out the api calls it’s been working fine for 2months on 15min calls to dark sky but as of late it is bombarding them with requests which has maxed out the daily 1000 requests two days running, all other MM modules are not ie Nest hue and GoogleMaps. I have removed it from the config and all network traffic dies down, can you look into this as it has been working great before this. Thanks in advance I’m going to try uninstalling it and then reinstalling it see if traffic is the same intensity. Edit: No even reinstalling it leads to the same thing loads of repeated calls to the api, deleting my 15min call inconfig and leaving it to 30mins default but it’s not 30 mins it’s like seconds calling repeatedly.
  • rotate screen with display object in electron

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    A
    Try this thread save-performance-when-rotating-screen-e-g-on-raspberry-pi AxLED
  • Pandora with Google Assistant and Alexa

    Unsolved
    1
    0 Votes
    1 Posts
    589 Views
    A
    To my knowledge and from my research, google assistant and alexa SDK’s cannot access pandora. Has anyone found a way to make it work?
  • MMM-EventHorizon - remove black border line

    Solved mmm-eventhorizon css
    11
    0 Votes
    11 Posts
    8k Views
    J
    OK, makes sense. Thanks!!
  • some modules are not showing on screen

    Unsolved
    23
    0 Votes
    23 Posts
    9k Views
    S
    https://jshint.com/ This site has helped me. Just delete the code that is there and copy and paste your entire code to see your errors .
  • Alexapi

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    A
    @anhanyoung I am using a raspberry pi3+