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.

    Install-Problem

    Scheduled Pinned Locked Moved Troubleshooting
    4 Posts 2 Posters 2.9k 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.
    • G Offline
      geetsche
      last edited by morozgrafix

      Hey Guys,
      i’m really fascinated by the magic mirror but however i can’t manage to install it.
      I have a brand new RP 3 with a SanDisk ultra 16 GB sd card
      i started the “normal” installation by using the install bash - there are already some small errors that something should be installed with -g (as you probably noticed i don’t really have a clue of the whole subject)
      Than later when i want to start the MagicMirror program there is this error in the terminal:

      "pi@raspberrypi:~ $ npm start
      npm ERR! Linux 4.4.34-v7+
      npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
      npm ERR! node v6.9.4
      npm ERR! npm  v3.10.10
      npm ERR! path /home/pi/package.json
      npm ERR! code ENOENT
      npm ERR! errno -2
      npm ERR! syscall open
      
      npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      npm ERR! enoent This is most likely not a problem with npm itself
      npm ERR! enoent and is related to npm not being able to find a file.
      npm ERR! enoent
      
      npm ERR! Please include the following file with any support request:
      npm ERR!     /home/pi/npm-debug.log"
      
      and in the npm-debug.log it says:
      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'start' ]
      2 info using npm@3.10.10
      3 info using node@v6.9.4
      4 verbose config Skipping project config: /home/pi/.npmrc. (matches userconfig)
      5 verbose stack Error: ENOENT: no such file or directory, open '/home/pi/package.json'
      5 verbose stack     at Error (native)
      6 verbose cwd /home/pi
      7 error Linux 4.4.34-v7+
      8 error argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
      9 error node v6.9.4
      10 error npm  v3.10.10
      11 error path /home/pi/package.json
      12 error code ENOENT
      13 error errno -2
      14 error syscall open
      15 error enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      16 error enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      16 error enoent This is most likely not a problem with npm itself
      16 error enoent and is related to npm not being able to find a file.
      17 verbose exit [ -2, true ]
      

      so i really hope someone can help me out.
      thank you and greetings
      G


      Edited by moderator: Please use Markdown on code snippets for easier reading! :bow:

      1 Reply Last reply Reply Quote 0
      • yawnsY Offline
        yawns Moderator
        last edited by

        cd MagicMirror
        npm start
        
        1 Reply Last reply Reply Quote 1
        • G Offline
          geetsche
          last edited by

          oh that’s quite embarrassing :D thank you

          1 Reply Last reply Reply Quote 1
          • yawnsY Offline
            yawns Moderator
            last edited by

            Sometimes it’s that easy. Enjoy the development of your magic mirror

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