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.

    can't run "npm run start"

    Scheduled Pinned Locked Moved Troubleshooting
    25 Posts 3 Posters 8.1k 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.
    • S Do not disturb
      sdetweil @jefftse
      last edited by

      @jefftse still trying to open display 0

      what is the vnc display number? do

      env | grep -i display
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jefftse @sdetweil
        last edited by

        @sdetweil

        XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
        XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
        DISPLAY=:0.0

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @jefftse
          last edited by

          @jefftse do u have a real display

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jefftse @sdetweil
            last edited by

            @sdetweil yes, in fact, i had it all working yesterday till I accident broken my sd card. I had to rebuild everything today.

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @jefftse
              last edited by

              @jefftse did u use my install script? can’t understand why u are having trouble

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                jefftse @sdetweil
                last edited by

                @sdetweil sure did. I had to create an user to run your script since it wouldn’t allow me to do in root

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @jefftse
                  last edited by sdetweil

                  @jefftse not supposed to be root
                  are u trying to run as root?

                  can’t do that

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    jefftse @sdetweil
                    last edited by

                    @sdetweil correct, and I created an user for the install. the install went fine. I just can’t run it!

                    S 1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @jefftse
                      last edited by

                      @jefftse I don’t understand created a user.
                      raspian installs and starts with user pi

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @sdetweil
                        last edited by sdetweil

                        @sdetweil you are running under the same user as during install time, right?

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        J 2 Replies Last reply Reply Quote 0
                        • J Offline
                          jefftse @sdetweil
                          last edited by

                          @sdetweil i think i got it working. I deleted everything and run your script again in “pi” user.

                          one question, I just enabled auto start and how do i disable it ? I need to config the config file

                          S 1 Reply Last reply Reply Quote 0
                          • J Offline
                            jefftse @sdetweil
                            last edited by

                            @sdetweil Thank you!

                            1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @jefftse
                              last edited by

                              @jefftse pm2 stop
                              then when you reboot it won’t come up again

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              S 1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @sdetweil
                                last edited by

                                @sdetweil u can use npm start to test

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 0

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • 1
                                • 2
                                • 1 / 2
                                • First post
                                  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