@sdetweil
I’ve also run
npm install
inside the MagicMirror folder when updating. No idea what happened next. Is there anyway I could, I don’t know, revert changes?
@sdetweil
I’ve also run
npm install
inside the MagicMirror folder when updating. No idea what happened next. Is there anyway I could, I don’t know, revert changes?
After the recent update (yes, I used the reccommeded command from the FAQ :) ), MagicMirror just won’t start. When attempting to start it using pm2 (previously worked normally), it says it’s started, but no windows show up whatsoever. Then, when I try to run
npm start
inside the /MagicMirror folder, this error pops up:
> magicmirror@2.10.1 start /home/pi/MagicMirror
> ./run-start.sh
App threw an error during load
/home/pi/MagicMirror/node_modules/ws/lib/websocket.js:347
...options
^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:74:10)
at Object.runInThisContext (vm.js:116:10)
at Module._compile (module.js:533:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/pi/MagicMirror/node_modules/ws/index.js:3:19)
A JavaScript error occurred in the main process
Uncaught Exception:
/home/pi/MagicMirror/node_modules/ws/lib/websocket.js:347
...options
^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:74:10)
at Object.runInThisContext (vm.js:116:10)
at Module._compile (module.js:533:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/pi/MagicMirror/node_modules/ws/index.js:3:19)
Can anyone assist me in diagnosing this mess? I am very new to Linux so I have zero idea what’s going on here.
Thank you all so much, and have a nice day.
An amazing guide! Thanks a lot. Got the mirror and the google assistant module up an running well, with a few issues that I will address here.
So, overall, everything is VERRY LAGGY- from audio, video, animation and update rate. I was told to downgrade MM from 2.9.0 down to 2.1.0, but have no idea how. Any help please. And the google assistant, when asked about some specific things like direction or information on the web, it just shows the URL for like a split second, then stop. Anyway I can display this on my phone, like idk connect the module to my phone in any way?
Please help. I’ve been struggling with this for 4 weeks already and it’s starting to br a major annoyance :(
@marion001 Uhhhhhh… I followed your steps to rebuild the thing in order for the module to work, but now it’s stuck at ‘Building module: grpc, Completed: 0’, and stays like that forever until I cancel the procedure with Ctrl+C. How can I resolve this? I really want Google Assistant to work but this is a hindrance that I want to remove.
@marion001 Uhhhhhh… I followed your steps to rebuild the thing in order for the module to work, but now it’s stuck at ‘Building module: grpc, Completed: 0’, and stays like that forever until I cancel the procedure with Ctrl+C. How can I resolve this? I really want Google Assistant to work but this is a hindrance that I want to remove.