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.

    Cannot find module "moment"

    Scheduled Pinned Locked Moved Troubleshooting
    98 Posts 2 Posters 45.8k 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.
    • U Offline
      uok825 @sdetweil
      last edited by

      @sdetweil said in Cannot find module "moment":

      git checkout master

      847faa1d-349e-4b1f-a0b5-001649266609-image.png

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

        @uok825 yay!!!

        run upgrade apply

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        U 1 Reply Last reply Reply Quote 0
        • U Offline
          uok825 @sdetweil
          last edited by

          @sdetweil 7183d73a-87b7-41e7-8c98-3a25969d7361-image.png It is not normal i think. I am about to cry. How can i check my MagicMirror version?

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

            @uok825 but u had it downloaded already

            grep version package.json

            u were on develop
            so either 2.13 or 2.12

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            U 1 Reply Last reply Reply Quote 0
            • U Offline
              uok825 @sdetweil
              last edited by uok825

              @sdetweil said in Cannot find module "moment":

              grep version package.json

              Version 2.12.0
              85bb21bf-e3ae-4175-a147-e431cedf5e7f-image.png

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

                @uok825 run the upgrade script from installers
                like u were doing

                or run just the curl… part of the whole command so we can see the error

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil NEVER EVER SUDO!!!

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  U 1 Reply Last reply Reply Quote 0
                  • U Offline
                    uok825 @sdetweil
                    last edited by uok825

                    @sdetweil Okey im sorry. Now run just

                    curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh
                    

                    c9ccfe87-2fd2-464c-843d-e3b2620af791-image.png

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

                      @uok825

                      cd ~
                      MagicMirror/installers/upgrade-script.sh apply
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      U 1 Reply Last reply Reply Quote 0
                      • U Offline
                        uok825 @sdetweil
                        last edited by

                        @sdetweil 0ac068d6-c12e-4b8a-8052-f77778b56ae2-image.pngAccess denied

                        S 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 6
                        • 7
                        • 8
                        • 9
                        • 10
                        • 8 / 10
                        • 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