• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

I get error in magic mirror when am installing the magic mirror the cmd: npm run start

Scheduled Pinned Locked Moved Bug Hunt
20 Posts 3 Posters 4.9k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    Chethan @0m4r
    last edited by Feb 12, 2021, 1:09 PM

    @0m4r f1987bcd-5237-4490-8790-addce00864a2-image.png

    i dont know what is the software that is being fresher in this

    S 1 Reply Last reply Feb 12, 2021, 1:18 PM Reply Quote 0
    • S Offline
      sdetweil @Chethan
      last edited by sdetweil Feb 12, 2021, 1:19 PM Feb 12, 2021, 1:18 PM

      @chethan are u running in desktop mode, or text mode command prompt.

      must be desktop mode, electron requires graphics mode

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      C 2 Replies Last reply Feb 12, 2021, 1:28 PM Reply Quote 0
      • C Offline
        Chethan @sdetweil
        last edited by Feb 12, 2021, 1:28 PM

        @sdetweil no am running my own Samsung desktop I connect raspberry to that display

        S 1 Reply Last reply Feb 12, 2021, 1:53 PM Reply Quote 0
        • C Offline
          Chethan @sdetweil
          last edited by Feb 12, 2021, 1:31 PM

          @sdetweil i give code on the pi cmd

          0 1 Reply Last reply Feb 12, 2021, 2:05 PM Reply Quote 0
          • S Offline
            sdetweil @Chethan
            last edited by sdetweil Feb 12, 2021, 1:56 PM Feb 12, 2021, 1:53 PM

            @chethan sorry, dont understand samsung desktop.

            using xwindows?

            showing the temples background?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • 0 Offline
              0m4r Module Developer @Chethan
              last edited by Feb 12, 2021, 2:05 PM

              @chethan
              do you connect via ssh to your rasperry pi?
              then use this:
              DISPLAY=:0 nohup npm start

              https://github.com/0m4r

              S C 2 Replies Last reply Feb 12, 2021, 3:56 PM Reply Quote 0
              • S Offline
                sdetweil @0m4r
                last edited by Feb 12, 2021, 3:56 PM

                @0m4r npm start sets DISPLAY now so u dont have to do this.

                i think he is running cli mode, no xwindows

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 1
                • C Offline
                  Chethan @0m4r
                  last edited by Feb 13, 2021, 12:24 PM

                  @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 cmd

                  cd ~/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)

                  0 1 Reply Last reply Feb 13, 2021, 4:06 PM Reply Quote 0
                  • C Offline
                    Chethan
                    last edited by Feb 13, 2021, 12:59 PM

                    @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

                    S 1 Reply Last reply Feb 13, 2021, 1:17 PM Reply Quote 0
                    • S Offline
                      sdetweil @Chethan
                      last edited by Feb 13, 2021, 1:17 PM

                      @chethan you must run in desktop mode if u want mm to display on the pi. the browser requires graphics

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 2 / 2
                      2 / 2
                      • First post
                        14/20
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy