MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    UNSOLVED npm start doesn't do anything but logs random words.

    Troubleshooting
    3
    9
    277
    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.
    • I
      Ichiritzu last edited by Ichiritzu

      Now, I am not exactly sure if I downloaded Jessie on my sd card. But that might be the problem?

      I followed everything on this website to step 6: https://www.magicmirrorcentral.com/complete-raspberry-pi-magic-mirror-tutorial/

      And when I do npm start, I get just a bunch of words in a log.

      [09.01.2022 18:47.24.988] [LOG]   undefined
      [09.01.2022 18:47.25.008] [LOG]   undefined
      [09.01.2022 18:47.25.013] [LOG]   undefined
      [09.01.2022 18:47.25.017] [LOG]                                      !             H|H|H|H|H           H__________________________________             H|§|§|§|H           H|* * * * * *|---------------------|             H|§|∞|§|H           H| * * * * * |---------------------|             H|§|§|§|H           H|* * * * * *|---------------------|             H|H|H|H|H           H| * * * * * |---------------------|             H|H|H|H|H           H|---------------------------------|          ===============        H|---------------------------------|            /| _   _ |          H|---------------------------------|            (| O   O |)          H|---------------------------------|            /|   U   |          H-----------------------------------             |  =/  |           H              _..._/            H              _|I/|_            H      _______/| H |/_______    H     /           / /          H    |          | | /         |  H    |          ||o||          |  H    |    |     ||o||     |    |  H    |    |     ||o||     |    |  H   Carl Pilcher  
      

      I have no clue what’s going on.

      Edit: I also can’t post the full log because it’ll get flagged as spam.

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

        @ichiritzu don’t do Jessie or stretch
        …use the latest, bullseye

        and then use my install script
        see
        https://github.com/sdetweil/MagicMirror_scripts

        Sam

        Create a working config
        How to add modules

        I 1 Reply Last reply Reply Quote 0
        • I
          Ichiritzu @sdetweil last edited by

          @sdetweil said in npm start doesn't do anything but logs random words.:

          bullseye

          do I update the software or just reflash my sd?

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

            @ichiritzu reflash, then use my script. don’t do anything else before that

            Sam

            Create a working config
            How to add modules

            I 1 Reply Last reply Reply Quote 0
            • I
              Ichiritzu @sdetweil last edited by

              @sdetweil Ok, I reflashed and got Bullseye. Then I immediately followed your script and the same results. After installing nothing happens, it just instructs me to cd to MagicMirror and use pm2 start MagicMirror.

              When I do that, still nothing happens. It says status online, cpu 0%, and memory 2.8mb. Also when I do npm start, all it does is log random words like before.

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

                @ichiritzu someone on discord is reporting similar issues…

                he said renaming mm folder and doing manual install

                git clone && npm install worked.

                not sure what is going on

                Sam

                Create a working config
                How to add modules

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

                  see https://www.bleepingcomputer.com/news/security/dev-corrupts-npm-libs-colors-and-faker-breaking-thousands-of-apps/

                  1 Reply Last reply Reply Quote 1
                  • karsten13
                    karsten13 @sdetweil last edited by

                    @sdetweil

                    it seems to be solved now, npm delivers now colors v1.4.0 as max version …

                    I 1 Reply Last reply Reply Quote 0
                    • I
                      Ichiritzu @karsten13 last edited by

                      @karsten13 @sdetweil

                      Awesome! thank y’all. I finally fixed by renaming the folder, changing the dependency ‘colors’ to 1.4.0 (removed the carrot), delete node_modles, and npm install.

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy