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.

    Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10

    Scheduled Pinned Locked Moved Troubleshooting
    324 Posts 55 Posters 782.2k Views 59 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.
    • K Offline
      kithaam
      last edited by

      f6415e51-f1e8-4024-abe0-dfce398f0ded-image.png Please assist with this error

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

        @kithaam u are on windows. don’t follow the linux instructions

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kithaam @sdetweil
          last edited by

          @sdetweil hi on windows

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

            @kithaam yes. I know

            ~/
            is a linux thing

            follow the windows instructions
            https://forum.magicmirror.builders/topic/4089/complete-walkthrough-install-magicmirror-on-a-pc-windows-7-10/141?page=15

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            K 1 Reply Last reply Reply Quote 0
            • K Offline
              kithaam @sdetweil
              last edited by

              @sdetweil 62fe3601-ef5f-4d26-8b18-570f552dfeda-image.png Hi Please see this error

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

                @kithaam follow ALL the instructions…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                K 1 Reply Last reply Reply Quote 0
                • K Offline
                  kithaam @sdetweil
                  last edited by

                  @sdetweil !hi im getting the same errors
                  e94819c0-2c05-4570-a129-0c4fb2170dcc-image.png

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

                    @kithaam it doesn’t say “npm start” in the vendor or font folders

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      airart @sdetweil
                      last edited by airart

                      @sdetweil not working after edit package.json , i try to start on Win CMD with npm start ( folder MagicMirror)

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

                        @airart what does it say?
                        show the text of the start line now

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        A 1 Reply Last reply Reply Quote 0
                        • A Offline
                          airart @sdetweil
                          last edited by sdetweil

                          @sdetweil i edit like this

                          "start": "node_modules/.bin/electron js/electron.js",
                          
                          A S 2 Replies Last reply Reply Quote 0
                          • A Offline
                            airart @airart
                            last edited by

                            @airart it say

                            “node_modules” non è riconosciuto come come comando interno …

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

                              @airart mine works like this

                              "start": "./node_modules/.bin/electron js/electron.js",
                              

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              A 1 Reply Last reply Reply Quote 0
                              • A Offline
                                airart @sdetweil
                                last edited by airart

                                @sdetweil seems that in node_modules folder/.bin/ there’s not any electron.js
                                2021-05-28_07h52_12.png 2021-05-28_07h51_46.png

                                i’v also tried with cmd …

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

                                  @airart did you do the npm install?

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  A 1 Reply Last reply Reply Quote 0
                                  • A Offline
                                    airart @sdetweil
                                    last edited by

                                    @sdetweil yes i do
                                    2021-05-28_13h56_20.png

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

                                      @airart what version of node and npm are installed

                                      npm -v
                                      node -v

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      A 1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        airart @sdetweil
                                        last edited by

                                        @sdetweil npm 7.14.0 , node 14.17.0

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

                                          @airart interesting

                                          ok, lets try to start over that step

                                          cd MagicMirror
                                          del package-lock.json
                                          rd /q/s  node_modules
                                          
                                          npm install  only=prod
                                          

                                          we will want the name of the log file when it finishes in case

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          A 1 Reply Last reply Reply Quote 0
                                          • A Offline
                                            airart @sdetweil
                                            last edited by airart

                                            @sdetweil only the name ?
                                            2021-05-28T12_56_04_242Z-debug

                                            0 verbose cli [
                                            0 verbose cli   'C:\\Program Files\\nodejs\\node.exe',
                                            0 verbose cli   'C:\\Users\\gizmo\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
                                            0 verbose cli   'install',
                                            0 verbose cli   'only=prod'
                                            0 verbose cli ]
                                            1 info using npm@7.14.0
                                            2 info using node@v14.17.0
                                            3 timing npm:load:whichnode Completed in 8ms
                                            4 timing config:load:defaults Completed in 9ms
                                            5 timing config:load:file:C:\Users\gizmo\AppData\Roaming\npm\node_modules\npm\npmrc Completed in 8ms
                                            6 timing config:load:builtin Completed in 9ms
                                            7 timing config:load:cli Completed in 9ms
                                            8 timing config:load:env Completed in 3ms
                                            9 timing config:load:file:C:\Users\gizmo\MagicMirror\.npmrc Completed in 2ms
                                            10 timing config:load:project Completed in 5ms
                                            11 timing config:load:file:C:\Users\gizmo\.npmrc Completed in 1ms
                                            12 timing config:load:user Completed in 1ms
                                            13 timing config:load:file:C:\Users\gizmo\AppData\Roaming\npm\etc\npmrc Completed in 1ms
                                            14 timing config:load:global Completed in 2ms
                                            15 timing config:load:validate Completed in 1ms
                                            16 timing config:load:credentials Completed in 10ms
                                            17 timing config:load:setEnvs Completed in 12ms
                                            18 timing config:load Completed in 61ms
                                            19 timing npm:load:configload Completed in 61ms
                                            20 timing npm:load:setTitle Completed in 3ms
                                            21 timing npm:load:setupLog Completed in 11ms
                                            22 timing npm:load:cleanupLog Completed in 13ms
                                            23 timing npm:load:configScope Completed in 0ms
                                            24 timing npm:load:projectScope Completed in 4ms
                                            25 timing npm:load Completed in 104ms
                                            26 timing config:load:flatten Completed in 20ms
                                            27 timing arborist:ctor Completed in 3ms
                                            28 timing arborist:ctor Completed in 1ms
                                            29 timing idealTree:init Completed in 122ms
                                            30 timing idealTree Completed in 150ms
                                            31 timing command:install Completed in 234ms
                                            32 verbose stack Error: Invalid tag name "only=prod": Tags may not have any characters that encodeURIComponent encodes.
                                            32 verbose stack     at invalidTagName (C:\Users\gizmo\AppData\Roaming\npm\node_modules\npm\node_modules\npm-package-arg\npa.js:94:15)
                                            32 verbose stack     at fromRegistry (C:\Users\gizmo\AppData\Roaming\npm\node_modules\npm\node_modules\npm-package-arg\npa.js:299:13)
                                            32 verbose stack     at resolve (C:\Users\gizmo\AppData\Roaming\npm\node_modules\npm\node_modules\npm-package-arg\npa.js:84:12)
                                            32 verbose stack     at npa (C:\Users\gizmo\AppData\Roaming\npm\node_modules\npm\node_modules\npm-package-arg\npa.js:55:10)
                                            32 verbose stack     at C:\Users\gizmo\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:474:50
                                            32 verbose stack     at Array.map (<anonymous>)
                                            32 verbose stack     at Arborist.[add] (C:\Users\gizmo\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:471:28)
                                            32 verbose stack     at Arborist.[applyUserRequestsToNode] (C:\Users\gizmo\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:446:23)
                                            32 verbose stack     at Arborist.[applyUserRequests] (C:\Users\gizmo\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:402:43)
                                            32 verbose stack     at Arborist.buildIdealTree (C:\Users\gizmo\AppData\Roaming\npm\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:217:37)
                                            33 verbose cwd C:\Users\gizmo\MagicMirror
                                            34 verbose Windows_NT 10.0.18362
                                            35 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\gizmo\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "only=prod"
                                            36 verbose node v14.17.0
                                            37 verbose npm  v7.14.0
                                            38 error code EINVALIDTAGNAME
                                            39 error Invalid tag name "only=prod": Tags may not have any characters that encodeURIComponent encodes.
                                            40 verbose exit 1
                                            
                                            S 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
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 16
                                            • 17
                                            • 9 / 17
                                            • 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