npm install error



  • npm ERR! Linux 4.9.41-v7+
    
    npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
    
    npm ERR! node v6.12.0
    
    npm ERR! npm  v3.10.10
    
    npm ERR! code ELIFECYCLE
    
    
    npm ERR! electron@1.7.9 postinstall: `node install.js`
    
    npm ERR! Exit status 1
    
    npm ERR! 
    
    npm ERR! Failed at the electron@1.7.9 postinstall script 'node install.js'.
    
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    
    npm ERR! If you do, this is most likely a problem with the electron package,
    
    npm ERR! not with npm itself.
    
    npm ERR! Tell the author that this fails on your system:
    
    npm ERR!     node install.js
    
    npm ERR! You can get information on how to open an issue for this project with:
    
    npm ERR!     npm bugs electron
    
    npm ERR! Or if that isn't available, you can get their info via:
    
    npm ERR!     npm owner ls electron
    npm ERR! There is likely additional logging output above.
    
    
    npm ERR! Please include the following file with any support request:
    
    npm ERR!     /home/pi/MagicMirror/npm-debug.log
    Unable to install dependencies!
    
    
    
    
    npm ERR! Linux 4.9.41-v7+
    
    npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start" "dev"
    
    npm ERR! node v6.12.0
    
    npm ERR! npm  v3.10.10
    
    npm ERR! file sh
    
    npm ERR! code ELIFECYCLE
    
    npm ERR! errno ENOENT
    
    npm ERR! syscall spawn
    
    npm ERR! magicmirror@2.1.3 start: `sh run-start.sh "dev"`
    
    npm ERR! spawn ENOENT
    
    npm ERR! 
    
    npm ERR! Failed at the magicmirror@2.1.3 start script 'sh run-start.sh "dev"'.
    
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    
    npm ERR! If you do, this is most likely a problem with the magicmirror package,
    
    npm ERR! not with npm itself.
    
    npm ERR! Tell the author that this fails on your system:
    
    npm ERR!     sh run-start.sh "dev"
    
    npm ERR! You can get information on how to open an issue for this project with:
    
    npm ERR!     npm bugs magicmirror
    
    npm ERR! Or if that isn't available, you can get their info via:
    
    npm ERR!     npm owner ls magicmirror
    
    npm ERR! There is likely additional logging output above.
    
    
    npm ERR! Please include the following file with any support request:
    
    npm ERR!     /home/pi/MagicMirror/npm-debug.log
    

  • Module Developer

    @acogkenf

    Are you running npm start in the MagicMirror directory?



  • @Mykle1 yes, but we have same error. and we have two warning when we install

    npm WARN prefer global coffee-script@1.10.0 should be installed with -g

    npm WARN prefer global jsonlint@1.6.2 should be installed with -g


  • Module Developer

    @acogkenf

    The two warnings can be ignored. They do not affect the operation on the MM software.

    It appears your dependencies did not install properly. It happens from time to time. Try this first:

    • Delete the MagicMirror/node_modules/electron folder
    • cd into your MagicMirror directory
    • run npm install
    • run npm start

Log in to reply
 

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