Read the statement by Michael Teeuw here.
Failed at the magicmirror@2.9.0 start script
- 
 Hi, 
 I was trying to run the mirror but it crashes after 5 seconds. It started well and could see and hear the google assistant popping up but then the program closes itself. Any advice would be highly appreciated.Here you can see the log; pi@raspberrypi:~ $ cd MagicMirror pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.9.0 start /home/pi/MagicMirror > sh run-start.sh Starting MagicMirror: v2.9.0 Loading config ... Loading module helpers ... No helper found for module: alert. Initializing new module helper ... Module helper loaded: updatenotification No helper found for module: clock. Initializing new module helper ... Module helper loaded: calendar No helper found for module: compliments. No helper found for module: currentweather. No helper found for module: weatherforecast. Initializing new module helper ... Module helper loaded: newsfeed Initializing new module helper ... Module helper loaded: MMM-Hotword Initializing new module helper ... Module helper loaded: MMM-AssistantMk2 All module helpers loaded. Starting server on port 8080 ... Server started ... Connecting socket for: updatenotification Connecting socket for: calendar Starting node helper for: calendar Connecting socket for: newsfeed Starting module: newsfeed Connecting socket for: MMM-Hotword [HOTWORD] MMM-Hotword starts Connecting socket for: MMM-AssistantMk2 Sockets connected & modules started ... Launching application. Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000 Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 [AMK2] Recipe is loaded: hide_and_show_all_modules.js [AMK2] Recipe is loaded: reboot.js [AMK2] Recipe is loaded: screen_onoff.js [AMK2] Recipe is loaded: shutdown.js [AMK2] Temporal storage directory is clearing. [HOTWORD] begins. [HOTWORD] Detector starts listening. [HOTWORD] stops. [HOTWORD] Final Result: { detected: false } [HOTWORD] begins. [HOTWORD] Detector starts listening. [AMK2] assistant ready /home/pi/MagicMirror/node_modules/electron/dist/electron js/electron.js: symbol lookup error: /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.0-linux-arm-glibc/grpc_node.node: undefined symbol: __atomic_store_8 npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file sh npm ERR! errno ENOENT npm ERR! magicmirror@2.9.0 start: `sh run-start.sh` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the magicmirror@2.9.0 start 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-24T19_30_25_417Z-debug.log
- 
 @greg_r there apparently is a bad version of grpc… if you fall back to 1.23.? instead of 1.24 it will work. 
- 
 the error indicates you need to do an electron-rebuild cd ~/MagicMirror npm install electron-rebuild node_modules/.bin/electron-rebuildthen restart MagicMirror 
- 
 @sdetweil said in Failed at the magicmirror@2.9.0 start script: node_modules/.bin/electron-rebuild Followed the instructions above and still getting the same error 
 /home/pi/MagicMirror/node_modules/electron/dist/electron js/electron.js: symbol lookup error: /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.0-linux-arm-glibc/grpc_node.node: undefined symbol: __atomic_store_8
 npm ERR! code ELIFECYCLE
 npm ERR! syscall spawn
 npm ERR! file sh
 npm ERR! errno ENOENT
 npm ERR! magicmirror@2.9.0 start:sh run-start.sh
 npm ERR! spawn ENOENT
 npm ERR!
 npm ERR! Failed at the magicmirror@2.9.0 start 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-25T07_45_43_692Z-debug.logplease advise. thank you 
- 
 following,i’m having the same problem 
- 
 @mrdenmark @waseemghaly we will have to wait for @Sean to help… he is the module author 
- 
 I have exactly the same problem. When triggering MK2 Assistant with hotword or with mouse click, MM crashes with the following errors: [AMK2] Recipe is loaded: hide_and_show_all_modules.js 
 [AMK2] Recipe is loaded: reboot.js
 [AMK2] Recipe is loaded: screen_onoff.js
 [AMK2] Recipe is loaded: shutdown.js
 [AMK2] Temporal storage directory is clearing.
 [HOTWORD] begins.
 [HOTWORD] Detector starts listening.
 [HOTWORD] stops.
 [HOTWORD] Final Result: { detected: false }
 [HOTWORD] begins.
 [HOTWORD] Detector starts listening.
 [AMK2] assistant ready
 /home/pi/MagicMirror/node_modules/electron/dist/electron js/electron.js: symbol lookup error: /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.0-linux-arm-glibc/grpc_node.node: undefined symbol: __atomic_store_8
 npm ERR! file sh
 npm ERR! code ELIFECYCLE
 npm ERR! errno ENOENT
 npm ERR! syscall spawn
 npm ERR! magicmirror@2.9.0 start:sh run-start.sh
 npm ERR! spawn ENOENT
 npm ERR!
 npm ERR! Failed at the magicmirror@2.9.0 start 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-29T22_08_07_413Z-debug.log
- 
 @greg_r there apparently is a bad version of grpc… if you fall back to 1.23.? instead of 1.24 it will work. 
- 
 Thank you Sam 
 found the solution here https://github.com/eouia/MMM-AssistantMk2/issues/231
 MM has stopped crashing.
 Greg

