@bhepler This worked, thank you!
Read the statement by Michael Teeuw here.
Best posts made by umeeq
Latest posts made by umeeq
-
RE: 2 MagicMirror windows
@sdetweil Copied from /home/pi/MagicMirror/installers into /home/pi/MagicMirror. Mind you I didn’t delete the original in the installers folder.
Bare with me with the hand-holding.
-
RE: 2 MagicMirror windows
@sdetweil No worries, I just wasn’t sure where you meant to copy it into.
I copied it into /home/pi/MagicMirror… ran
pm2 start mm.sh
and still nothing.I can execute the file from the folder location, but cant run
pm2 stop mm
to stop the app. I ranpm2 show mm
and got the result below. -
RE: 2 MagicMirror windows
@sdetweil Thanks for your response Sam.
I initially also saw a version in /home/pi, possibly the duplicate.
I’m still not sure how to boot the correct version of the mm though. Also not sure how I keep setting up two MMs.
Thanks in advance.
-
RE: 2 MagicMirror windows
@Mykle1 You helped me with this a year ago and I ran into the same issue. I deleted MagicMirror, and now when I run
pm2 start mm.sh
the mirror doesn’t launch. I also noticed the mm.sh file was missing from /home/pi. -
Unable to install dependencies!
I tried downloading the files from the internet using…
sudo curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash
and get the error below stating dependencies cant be found. I have built a mirror previously using the same instructions and now keep running into this issue.
No Node.js upgrade necessary. Cloning MagicMirror ... Cloning into 'MagicMirror'... remote: Enumerating objects: 282, done. remote: Counting objects: 100% (282/282), done. remote: Compressing objects: 100% (251/251), done. remote: Total 282 (delta 34), reused 127 (delta 21), pack-reused 0 Receiving objects: 100% (282/282), 385.56 KiB | 0 bytes/s, done. Resolving deltas: 100% (34/34), done. Cloning MagicMirror Done! Installing dependencies ... bash: line 113: npm: command not found Unable to install dependencies!
-
RE: mmm-assistant. installed - running - not answering :-)
@dvbit did you ever figure this out? I have mine running and I hear the ding when the MM starts. I also have the icon in the right location but no commands are recognized.
-
MMM-Assistant "node google-auth.js" error
I’m trying to set up MMM-Assistant on my mirror and keep coming across the same issue. I am so close, but whenever I enter…
node google-auth.js
…I get the error below. What am I missing? It looks like it can’t locate “google -client-secret.json” but I don’t see a step anywhere where that should have been created.
node google-auth.js internal/modules/cjs/loader.js:550 throw err; ^ Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-Assistant/assets/google-client-secret.json' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15) at Function.Module._load (internal/modules/cjs/loader.js:475:25) at Module.require (internal/modules/cjs/loader.js:598:17) at require (internal/modules/cjs/helpers.js:11:18) at new Auth (/home/pi/MagicMirror/modules/MMM-Assistant/node_modules/google-assistant/components/auth.js:26:15) at new GoogleAssistant (/home/pi/MagicMirror/modules/MMM-Assistant/node_modules/google-assistant/index.js:21:16) at Object. (/home/pi/MagicMirror/modules/MMM-Assistant/scripts/google-auth.js:25:19) at Module._compile (internal/modules/cjs/loader.js:654:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) at Module.load (internal/modules/cjs/loader.js:566:32)
Thanks for all your help.
-
RE: MMM-Assistant google-auth.js
@e3v3a I’m having a similar issue after running
node google-auth.js
I get the following… what am I missing? It looks like it can’t locate google -client-secret.json but I don’t see a step anywhere where that should have been created.
node google-auth.js internal/modules/cjs/loader.js:550 throw err; ^ Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-Assistant/assets/google-client-secret.json' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15) at Function.Module._load (internal/modules/cjs/loader.js:475:25) at Module.require (internal/modules/cjs/loader.js:598:17) at require (internal/modules/cjs/helpers.js:11:18) at new Auth (/home/pi/MagicMirror/modules/MMM-Assistant/node_modules/google-assistant/components/auth.js:26:15) at new GoogleAssistant (/home/pi/MagicMirror/modules/MMM-Assistant/node_modules/google-assistant/index.js:21:16) at Object. (/home/pi/MagicMirror/modules/MMM-Assistant/scripts/google-auth.js:25:19) at Module._compile (internal/modules/cjs/loader.js:654:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) at Module.load (internal/modules/cjs/loader.js:566:32)