Read the statement by Michael Teeuw here.
I get error in magic mirror when am installing the magic mirror the cmd: npm run start
-
@chethan yeah, thanks, but what operating system?
-
i dont know what is the software that is being fresher in this
-
@chethan are u running in desktop mode, or text mode command prompt.
must be desktop mode, electron requires graphics mode
-
@sdetweil no am running my own Samsung desktop I connect raspberry to that display
-
@sdetweil i give code on the pi cmd
-
-
@chethan
do you connect via ssh to your rasperry pi?
then use this:
DISPLAY=:0 nohup npm start -
@0m4r npm start sets DISPLAY now so u dont have to do this.
i think he is running cli mode, no xwindows
-
@0m4r yaa its working now but when am run the mmm google assistance i get this error
after complet all steps when am give this cmdcd ~/MagicMirror/modules/MMM-GoogleAssistant node auth_and_test.js
internal/modules/cjs/loader.js:638
throw err;
^Error: Cannot find module ‘@bugsounet/google-assistant’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/auth_and_test.js:7:25)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3) -
@sdetweil said in I get error in magic mirror when am installing the magic mirror the cmd: npm run start:
i think he is running cli mode, no xwindows
yes am running in the cli wifi