• 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.

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

Scheduled Pinned Locked Moved Solved Troubleshooting
9 Posts 3 Posters 1.0k 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 Nov 16, 2023, 8:10 AM

    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 Nov 16, 2023, 12:18 PM Reply Quote 0
    • S Offline
      sdetweil @swvalenti
      last edited by Sep 17, 2024, 11:43 AM

      @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

      S 1 Reply Last reply Sep 17, 2024, 11:58 AM Reply Quote 0
      • S Offline
        sdetweil @dj94506
        last edited by sdetweil Nov 16, 2023, 4:11 PM Nov 16, 2023, 12:18 PM

        @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

        S 1 Reply Last reply Sep 17, 2024, 12:34 AM Reply Quote 0
        • S Offline
          swvalenti Project Sponsor @sdetweil
          last edited by Sep 17, 2024, 12:34 AM

          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 Sep 17, 2024, 1:26 AM Reply Quote 0
          • S Offline
            sdetweil @swvalenti
            last edited by Sep 17, 2024, 1:26 AM

            @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

            S 1 Reply Last reply Sep 17, 2024, 1:45 AM Reply Quote 0
            • S Offline
              swvalenti Project Sponsor @sdetweil
              last edited by Sep 17, 2024, 1:45 AM

              @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 Sep 17, 2024, 2:40 AM Reply Quote 0
              • S Offline
                sdetweil @swvalenti
                last edited by Sep 17, 2024, 2:40 AM

                @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

                S 1 Reply Last reply Sep 17, 2024, 11:15 AM Reply Quote 0
                • S Offline
                  swvalenti Project Sponsor @sdetweil
                  last edited by Sep 17, 2024, 11:15 AM

                  @sdetweil there is not a node_modules folder

                  S 1 Reply Last reply Sep 17, 2024, 11:43 AM Reply Quote 0
                  • S Offline
                    sdetweil @swvalenti
                    last edited by Sep 17, 2024, 11:43 AM

                    @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

                    S 1 Reply Last reply Sep 17, 2024, 11:58 AM Reply Quote 0
                    • S Offline
                      swvalenti Project Sponsor @sdetweil
                      last edited by Sep 17, 2024, 11:58 AM

                      @sdetweil thanks sam that worked

                      1 Reply Last reply Reply Quote 0
                      • S sdetweil has marked this topic as solved on Sep 17, 2024, 1:55 PM
                      • 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