• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Dependency Problems

Scheduled Pinned Locked Moved Troubleshooting
6 Posts 3 Posters 3.8k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    tajno
    last edited by Nov 13, 2016, 2:15 AM

    Did you install the package?

    npm install snyk-protect

    Try to run it:

    npm run snyk-protect

    Does that work?

    1 Reply Last reply Reply Quote 0
    • N Offline
      negativeflare
      last edited by Nov 13, 2016, 3:08 AM

      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 $

      T 1 Reply Last reply Nov 13, 2016, 3:49 AM Reply Quote 0
      • T Offline
        tajno @negativeflare
        last edited by Nov 13, 2016, 3:49 AM

        @negativeflare

        Hm strange. Do you use npm version 0.10.29 on purpose?

        May you try to update:

        npm install npm -g
        npm update -g

        and also maybe clean cache:
        npm cache clean

        and than again to try install the package and his dependency.

        1 Reply Last reply Reply Quote 0
        • N Offline
          negativeflare
          last edited by Nov 15, 2016, 9:19 PM

          Thanks! That fixed it.

          1 Reply Last reply Reply Quote 0
          • P Offline
            poutr
            last edited by poutr Jan 22, 2017, 10:18 PM Jan 22, 2017, 10:17 PM

            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-dependencies

            No guarantee, but I think I have npm version 2 something before, which hard error on that issue.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy