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

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

Scheduled Pinned Locked Moved Unsolved Troubleshooting
9 Posts 3 Posters 1.2k 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.
  • I Offline
    Ichiritzu
    last edited by Ichiritzu Jan 10, 2022, 1:30 AM Jan 10, 2022, 1:29 AM

    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 Jan 10, 2022, 1:34 AM Reply Quote 0
    • S Offline
      sdetweil @Ichiritzu
      last edited by Jan 10, 2022, 1:34 AM

      @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

      How to add modules

      learning how to use browser developers window for css changes

      I 1 Reply Last reply Jan 10, 2022, 1:45 AM Reply Quote 0
      • I Offline
        Ichiritzu @sdetweil
        last edited by Jan 10, 2022, 1:45 AM

        @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 Jan 10, 2022, 2:22 AM Reply Quote 0
        • S Offline
          sdetweil @Ichiritzu
          last edited by Jan 10, 2022, 2:22 AM

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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          I 1 Reply Last reply Jan 10, 2022, 1:58 PM Reply Quote 0
          • I Offline
            Ichiritzu @sdetweil
            last edited by Jan 10, 2022, 1:58 PM

            @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 Jan 10, 2022, 2:39 PM Reply Quote 0
            • S Offline
              sdetweil @Ichiritzu
              last edited by Jan 10, 2022, 2:39 PM

              @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

              How to add modules

              learning how to use browser developers window for css changes

              K 2 Replies Last reply Jan 10, 2022, 7:43 PM Reply Quote 0
              • K Offline
                karsten13 @sdetweil
                last edited by Jan 10, 2022, 7:43 PM

                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
                • K Offline
                  karsten13 @sdetweil
                  last edited by Jan 10, 2022, 9:21 PM

                  @sdetweil

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

                  I 1 Reply Last reply Jan 10, 2022, 10:14 PM Reply Quote 0
                  • I Offline
                    Ichiritzu @karsten13
                    last edited by Jan 10, 2022, 10:14 PM

                    @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
                    1 / 1
                    • First post
                      1/9
                      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