Unable to start magic mirror via flask-ask intent
My alexa skill intent function just executes below command to run a .sh file which contains just two lines but magic mirror wont run. But if execute the same .sh file from cmd line, mm works perfectly. Please assist …!!
npm run start
[22682:1206/182424.385159:FATAL:atom_main_delegate.cc(210)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
@ashokkn u are running as root. That is a bad thing
not running as root -
[2020-12-07 11:53:51.413] [ERROR] Whoops! There was an uncaught exception…
[2020-12-07 11:53:51.414] [ERROR] Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
at doWrite (_stream_writable.js:413:19)
at writeOrBuffer (_stream_writable.js:401:5)
at Socket.Writable.write (_stream_writable.js:301:11)
at Object.con. [as log] (/home/pi/MagicMirror/node_modules/console-stamp/main.js:150:46)
at App. (/home/pi/MagicMirror/js/electron.js:93:6)
at App.emit (events.js:205:15)
[2020-12-07 11:53:51.415] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[2020-12-07 11:53:51.416] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues