MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MM Install Error

    Troubleshooting
    2
    3
    124
    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.
    • E
      etatsu last edited by lavolp3

      Hi!
      I’m trying to install MM on a RP 4 . I followed the Manual Installation steps , however, from step two on scripts indicate no file or directory. This is all new to me so your advice will be much appreciated!

      pi@raspberrypi:~ $ https://github.com/MichMich/MagicMirror
      bash: https://github.com/MichMich/MagicMirror: No such file or directory
      pi@raspberrypi:~ $ cd MagicMirror/
      bash: cd: MagicMirror/: No such file or directory
      pi@raspberrypi:~ $ npm install
      npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
      npm notice created a lockfile as package-lock.json. You should commit this file.
      npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      npm WARN pi No description
      npm WARN pi No repository field.
      npm WARN pi No README data
      npm WARN pi No license field.
      
      up to date in 0.797s
      found 0 vulnerabilities
      
      pi@raspberrypi:~ $ cp config/config.js.sample config/config.js
      cp: cannot stat 'config/config.js.sample': No such file or directory
      pi@raspberrypi:~ $ npm run start
      npm ERR! code ENOENT
      npm ERR! syscall open
      npm ERR! path /home/pi/package.json
      npm ERR! errno -2
      npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      npm ERR! enoent This is related to npm not being able to find a file.
      npm ERR! enoent 
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2021-03-26T07_35_06_236Z-debug.log
      pi@raspberrypi:~ $
      
      lavolp3 1 Reply Last reply Reply Quote 0
      • lavolp3
        lavolp3 Module Developer @etatsu last edited by lavolp3

        @etatsu you have the first command wrong.
        You need to put in

        git clone https://github.com/MichMich/MagicMirror
        

        And please PLEASE take care when the system throws errors at you 🙂 Basically all answers you got from the system on the way told you something’s wrong.

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

        1 Reply Last reply Reply Quote 0
        • E
          etatsu last edited by

          Thank you for your help!

          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