Read the statement by Michael Teeuw here.
Dependency Problems
-
Did you install the package?
npm install snyk-protect
Try to run it:
npm run snyk-protect
Does that work?
-
This is what I get when I run npm install snky-protect:
pi@raspberrypi:~/MagicMirror $ npm install snyk-protect
npm ERR! 404 Not Found
npm ERR! 404
npm ERR! 404 ‘snyk-protect’ is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404 It was specified as a dependency of ‘magicmirror’
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.npm ERR! System Linux 4.4.21+
npm ERR! command “/usr/bin/nodejs” “/usr/bin/npm” “install” “snyk-protect”
npm ERR! cwd /home/pi/MagicMirror
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code E404
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/MagicMirror/npm-debug.log
npm ERR! not ok code 0
pi@raspberrypi:~/MagicMirror $ -
Hm strange. Do you use npm version 0.10.29 on purpose?
May you try to update:
npm install npm -g
npm update -gand also maybe clean cache:
npm cache cleanand than again to try install the package and his dependency.
-
Thanks! That fixed it.
-
npm install npm -g npm update -g
install me npm version 4.1.2 which now only raises a warning for yamllint (since that package.json asked exactly for 0.4.0).
Probably because of this : http://gruntjs.com/blog/2016-04-04-grunt-1.0.0-released#peer-dependenciesNo guarantee, but I think I have npm version 2 something before, which hard error on that issue.