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.

    MMM-CalendarExt3 issue Loading / Showing the calendar on Windows

    Scheduled Pinned Locked Moved Solved Troubleshooting
    22 Posts 3 Posters 7.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 Offline
      sdetweil @JackHammer325
      last edited by

      @JackHammer325 did you do the npm install in the module folder?

      are you running the correct version of node js? version 18 or above

      what platform are you on, show output of

      uname -a
      lsb_release -a
      node -a
      npm -a
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Reply Quote 0
      • J Offline
        JackHammer325
        last edited by

        yes, I did.
        i even double checked .

        cd ~/MagicMirror/modules
        git clone https://github.com/MMRIZE/MMM-CalendarExt3
        cd MMM-CalendarExt3
        npm install
        git submodule update --init --recursive
        

        i even ran the update just to be sure

        cd ~/MagicMirror/modules/MMM-CalendarExt3
        git pull
        npm update
        

        im currently on Node.js ver 18.16.0
        running on windows 8.1

        not entirely sure how to “show output of” that you are asking

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

          @JackHammer325 ok, windows

          node -v and npm -v

          from a command prompt (cmd.exe) window

          the others are linux only

          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
            JackHammer325 @sdetweil
            last edited by

            @sdetweil
            node -v = v18.16.0
            npm -v = 9.5.1

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

              @JackHammer325 are you using the native windows or running in the linux subsystem for windows?

              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
                JackHammer325 @sdetweil
                last edited by

                @sdetweil
                native windows with program Git Bash

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

                  @JackHammer325 do not need git bash

                  just cmd.exe
                  npm start
                  or npm run server

                  of course u have to change package.json per the instructions due to the windows backslash for path

                  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
                    JackHammer325 @sdetweil
                    last edited by

                    @sdetweil
                    so i followed these instructions

                    "start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
                    "start:dev": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js dev",
                    

                    and replace it with

                    "start": ".\\node_modules\\.bin\\electron js\\electron.js",
                    "start:dev": ".\\node_modules\\.bin\\electron js\\electron.js dev",
                    

                    but it still goes back to
                    C:\magicmirror>
                    and does nothing.

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

                      @sdetweil

                      PC@WST MINGW32 /c/magicmirror
                      $ npm start
                      
                      > magicmirror@2.26.0 start
                      > .\node_modules\.bin\electron js\electron.js
                      
                      
                      PC@WST MINGW32 /c/magicmirror
                      $
                      
                      
                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @JackHammer325
                        last edited by

                        @JackHammer325 dont use min

                        just install under cmd.exe , do the extra steps, then npm start

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        J 3 Replies Last reply Reply Quote 0
                        • J Offline
                          JackHammer325 @sdetweil
                          last edited by

                          @sdetweil
                          alright I will try that and let you know of the outcome!

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

                            @sdetweil
                            just finished the install using cmd

                            • made sure to install the fonts and vendor parts
                            • as well as change the package.json file and then did run start.

                            but it still did the same thing as before.

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

                              @sdetweil

                              C:\MagicMirror>npm start
                              
                              > magicmirror@2.26.0 start
                              > .\node_modules\.bin\electron js\electron.js
                              
                              
                              C:\MagicMirror>
                              
                              S 1 Reply Last reply Reply Quote 0
                              • S Offline
                                sdetweil @JackHammer325
                                last edited by sdetweil

                                @JackHammer325 no .\ in front

                                the doc is wrong. windows doesn’t like . for current directory

                                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
                                  JackHammer325 @sdetweil
                                  last edited by

                                  @sdetweil
                                  this is what i have in my package.json file. I removed the “.” like you recommended.
                                  JSON package.jpg

                                  now i get “the system cannot find the path specified”

                                  C:\MagicMirror>npm start
                                  
                                  > magicmirror@2.26.0 start
                                  > \node_modules\.bin\electron js\electron.js
                                  
                                  The system cannot find the path specified.
                                  
                                  C:\MagicMirror>
                                  
                                  S 1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sdetweil @JackHammer325
                                    last edited by sdetweil

                                    @JackHammer325 you only removed the dot I said no .\

                                    so remove the slashes too

                                    "node_modules\\.bin\\....",
                                    

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

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

                                      @sdetweil
                                      sorry guess i didn’t realize.
                                      I’ve done that and it looks like it’s trying to start but then just goes back to this.

                                      C:\MagicMirror>npm start
                                      
                                      > magicmirror@2.26.0 start
                                      > node_modules\.bin\electron js\electron.js                 → sits here for about 8-10 seconds
                                                                                                                                                                                         then does that
                                                                                                                                                                                                         ↓
                                      C:\MagicMirror>
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        MMRIZE @JackHammer325
                                        last edited by

                                        @JackHammer325 said in MMM-CalendarExt3 issue Loading / Showing the calendar on Windows:

                                        TypeError: original.map(…).toSorted is not a function

                                        Sorry for the late reply.
                                        This error message is caused by using an old browser or not supported.
                                        a063c793-1f3f-49c2-ad40-c725e55f51f6-image.png
                                        If you are using Chrome or Chromium, it’s version should be newer than v110( - released, 2023-02-07, Current version is v120). Or for other browser, See above picture.

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

                                          @JackHammer325 said in MMM-CalendarExt3 issue Loading / Showing the calendar on Windows:

                                          windows 8.1

                                          yeh, missed that… That’s why the old browset

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          M 1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            MMRIZE @sdetweil
                                            last edited by

                                            @sdetweil
                                            I was happy to use a new feature toSorted but ppl may have trouble with compatibility issue. I’ll provide fallback codes in the next update.

                                            S 1 Reply Last reply Reply Quote 1

                                            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