Install-Problem



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


  • Moderator

    cd MagicMirror
    npm start
    


  • oh that’s quite embarrassing :D thank you


  • Moderator

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


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.