MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.

Npm install fails

  • I cannot seem to get NPM to install. I have tried on several different installs following the different tutorials verbatim for the server only method since I am installing on a RasPi 0 B+. Any ideas on whats going wrong??

    pi@raspberrypi:~/magicmirror $ sudo npm install && npm start
    npm WARN cannot run in wd magicmirror@2.0.0 npm run snyk-protect (wd=/home/pi/magicmirror)
    npm WARN unmet dependency /home/pi/magicmirror/node_modules/request/node_modules/http-signature/node_modules/sshpk requires assert-plus@’^1.0.0’ but will load
    npm WARN unmet dependency /home/pi/magicmirror/node_modules/request/node_modules/http-signature/node_modules/assert-plus,
    npm WARN unmet dependency which is version 0.2.0
    npm ERR! Linux 4.4.34+
    npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “install”
    npm ERR! node v4.2.1
    npm ERR! npm v2.14.7
    npm ERR! code EPEERINVALID

    npm ERR! peerinvalid The package grunt@1.0.1 does not satisfy its siblings’ peerDependencies requirements!
    npm ERR! peerinvalid Peer grunt-eslint@19.0.0 wants grunt@>=0.4.0
    npm ERR! peerinvalid Peer grunt-yamllint@0.2.0 wants grunt@~0.4.0

    npm ERR! Please include the following file with any support request:
    npm ERR! /home/pi/magicmirror/npm-debug.log

    I should mention I am trying this on a RasPi 0 B+ version as well.
    Thanks for the help!!!

Log in to reply