MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. negativeflare
    N
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    negativeflare

    @negativeflare

    0
    Reputation
    513
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    negativeflare Unfollow Follow

    Latest posts made by negativeflare

    • Error on start

      When starting with the “node serveronly” (I can’t get npm to launch electron for some reason), I get this error:
      pi@raspberrypi:~/MagicMirror $ node serveronly
      Loading config …
      WARNING! Could not load config file. Starting with default configuration. Error found: TypeError: Object # has no method ‘accessSync’
      Loading module helpers …
      No helper found for module: helloworld.
      All module helpers loaded.
      Starting server op port 8080 …
      Server started …
      Sockets connected & modules started …

      Ready to go! Please point your browser to: http://localhost:8080

      I don’t understand why it won’t use my config. The config is identical to the sample one that its in the config folder.

      posted in Troubleshooting
      N
      negativeflare
    • RE: Dependency Problems

      Thanks! That fixed it.

      posted in Troubleshooting
      N
      negativeflare
    • RE: Dependency Problems

      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 $

      posted in Troubleshooting
      N
      negativeflare
    • Dependency Problems

      When running npm install on my raspberry pi 2, I encounter this error:
      /

      magicmirror@2.0.0 prepublish /home/pi/MagicMirror
      npm run snyk-protect

      magicmirror@2.0.0 snyk-protect /home/pi/MagicMirror
      snyk protect

      Successfully applied Snyk patches
      npm ERR! peerinvalid The package grunt 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! System Linux 4.4.21+
      npm ERR! command “/usr/bin/nodejs” “/usr/bin/npm” “install”
      npm ERR! cwd /home/pi/MagicMirror
      npm ERR! node -v v0.10.29
      npm ERR! npm -v 1.4.21
      npm ERR! code EPEERINVALID
      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

      posted in Troubleshooting
      N
      negativeflare