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

Cannot find module "moment"

Scheduled Pinned Locked Moved Troubleshooting
98 Posts 2 Posters 39.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.
  • U Offline
    uok825
    last edited by Jul 24, 2021, 4:09 PM

    After i want to try install twitter(npm) it crashed btw. Then i can’t access my localhost. I use PI Zero W .Here is my logs:
    8c52e384-5042-4a70-81af-b3a8e2d42781-image.png

    S 1 Reply Last reply Jul 24, 2021, 4:32 PM Reply Quote 0
    • S Offline
      sdetweil @uok825
      last edited by Jul 24, 2021, 4:32 PM

      @uok825 that is calendar having trouble… how did u install MM?

      that should have been loaded when npm install was done

      2.16 is the current version… 2.13 is 9 months ago

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      U 1 Reply Last reply Jul 24, 2021, 4:55 PM Reply Quote 0
      • U Offline
        uok825 @sdetweil
        last edited by Jul 24, 2021, 4:55 PM

        @sdetweil i tryed to unistall twitter. May be thats the cause. Sorry for bad English. I ran your update script.

        S 1 Reply Last reply Jul 24, 2021, 4:58 PM Reply Quote 0
        • S Offline
          sdetweil @uok825
          last edited by sdetweil Jul 24, 2021, 4:59 PM Jul 24, 2021, 4:58 PM

          @uok825 update is AFTER u have been running, and a new release comes out…

          it takes two steps…

          1 1st run is a test run to tell you what might be issues… maybe u need to save some files, or something…
          or u made changes to module files and forgot u did that
          2 rerun with a parameter to actually DO the update

          if u don’t do 2, then you didn’t update

          twitter should have no effect

          which twitter module?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          U 1 Reply Last reply Jul 24, 2021, 4:59 PM Reply Quote 0
          • U Offline
            uok825 @sdetweil
            last edited by Jul 24, 2021, 4:59 PM

            @sdetweil https://github.com/AdamMoses-GitHub/MMM-TwitterTrendsByPlace
            But i cant install that

            S 1 Reply Last reply Jul 24, 2021, 5:01 PM Reply Quote 0
            • S Offline
              sdetweil @uok825
              last edited by Jul 24, 2021, 5:01 PM

              @uok825 well, its because he did a bad thing, and didn’t document that he needed the ‘twitter’ library module
              (there is no package.json file to document the module dependencies)
              but his node_helper.js says require(‘twitter’);

              go to the module folder and do
              npm install twitter

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              U 1 Reply Last reply Jul 24, 2021, 5:03 PM Reply Quote 0
              • U Offline
                uok825 @sdetweil
                last edited by Jul 24, 2021, 5:03 PM

                @sdetweil Yeah i know. When i tried to npm install twitter. The electron has been failed cause i think the Pi zero stuff. Then its failed, i tried npm uninstall twitter. And the problem started.

                S 1 Reply Last reply Jul 24, 2021, 5:05 PM Reply Quote 0
                • S Offline
                  sdetweil @uok825
                  last edited by Jul 24, 2021, 5:05 PM

                  @uok825 there is no electron for pi 0… if u install with my script, I setup server mode and then launch chromium over the server… (doing npm start , starts my run-start.sh script)

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  U 2 Replies Last reply Jul 24, 2021, 5:06 PM Reply Quote 0
                  • U Offline
                    uok825 @sdetweil
                    last edited by Jul 24, 2021, 5:06 PM

                    @sdetweil I installed with your script. Its been working for a 1,5 years. Now its broken what can i do?

                    1 Reply Last reply Reply Quote 0
                    • U Offline
                      uok825 @sdetweil
                      last edited by Jul 24, 2021, 9:25 PM

                      @sdetweil Anything you can help me?

                      S 1 Reply Last reply Jul 24, 2021, 9:38 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 9
                      • 10
                      • 1 / 10
                      1 / 10
                      • First post
                        3/98
                        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