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

MM Install Error

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 446 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.
  • E Offline
    etatsu
    last edited by lavolp3 Mar 26, 2021, 10:19 AM Mar 26, 2021, 9:41 AM

    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:~ $
    
    L 1 Reply Last reply Mar 26, 2021, 10:20 AM Reply Quote 0
    • L Offline
      lavolp3 Module Developer @etatsu
      last edited by lavolp3 Mar 26, 2021, 10:22 AM Mar 26, 2021, 10:20 AM

      @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 Offline
        etatsu
        last edited by Mar 27, 2021, 1:11 AM

        Thank you for your help!

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          1/3
          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