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.

    'DISPLAY' is not recognized... on Windows 10

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 3 Posters 1.2k Views 2 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.
    • D Offline
      dj94506
      last edited by

      Hi,
      This is my first stab at installing MagicMirror2. I’m on Windows 10. The installation was a straightforward, only default options, i.e., a click-click-click process that seems to have done its thing.

      Then, this happened:

      $ npm start

      magicmirror@2.25.0 start
      DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

      ‘DISPLAY’ is not recognized as an internal or external command,
      operable program or batch file.

      I’m aware of the DISPLAY:0 game in the UNIX world; however, I haven’t encountered it in the Windows. Any suggestions for a semi-skilled newbie would be deeply appreciated.

      Thanks in advance.

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

        @swvalenti so the

        npm run install-mm 
        

        was not done or not successful

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        swvalentiS 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @dj94506
          last edited by sdetweil

          @dj94506 you did not follow all the instructions

          Screenshot_20231116_101118_Chrome.jpg

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          swvalentiS 1 Reply Last reply Reply Quote 0
          • swvalentiS Offline
            swvalenti Project Sponsor @sdetweil
            last edited by

            Upgraded on windows 10 using sam script. Changed the package.json but I am getting the below error. Any ideas

            > magicmirror@2.28.0 start
            > .\node_modules\.bin\electron js\electron.js
            
            The system cannot find the path specified.
            

            Below are the start lines per documentation

            "start": ".\\node_modules\\.bin\\electron js\\electron.js",
            "start:dev": ".\\node_modules\\.bin\\electron js\\electron.js dev",
            
            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @swvalenti
              last edited by

              @swvalenti so, if you look does the path exist?
              you didn’t use my script on windows

              did you run the 3 npm installs?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              swvalentiS 1 Reply Last reply Reply Quote 0
              • swvalentiS Offline
                swvalenti Project Sponsor @sdetweil
                last edited by

                @sdetweil yea I ran the 3 npm scripts. Never had to change the path on prior so I assumed that would still be the case. You mean c:user etc?

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

                  @swvalenti no, in the MagicMirror folder is there a node_modules folder, etc

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  swvalentiS 1 Reply Last reply Reply Quote 0
                  • swvalentiS Offline
                    swvalenti Project Sponsor @sdetweil
                    last edited by

                    @sdetweil there is not a node_modules folder

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

                      @swvalenti so the

                      npm run install-mm 
                      

                      was not done or not successful

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      swvalentiS 1 Reply Last reply Reply Quote 0
                      • swvalentiS Offline
                        swvalenti Project Sponsor @sdetweil
                        last edited by

                        @sdetweil thanks sam that worked

                        1 Reply Last reply Reply Quote 0
                        • S sdetweil has marked this topic as solved on
                        • 1 / 1
                        • 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