npm ERR! file support request



  • Hey guys,
    So I successfully installed the MM2 using the automatic installer and moded the config.js file accordingly, however when I enter the DISPLAY=:0 npm start I get the following print print out:

    npm ERR! Linux 4.4.9-v7+
    npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
    npm ERR! node v6.2.0
    npm ERR! npm  v3.8.9
    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
    

    I have done some looking on the forums and some googling but my search has led me no where. anyone have any ideas as to how to solve this?
    Thanks!


    Note from admin: Please use Markdown on code snippets so it is easier to read!


  • Moderator

    You need to be inside of the MagicMirror folder for that to work.


Log in to reply
 

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