MagicMirror Forum

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

    alenba2

    @alenba2

    0
    Reputation
    211
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    alenba2 Unfollow Follow

    Latest posts made by alenba2

    • RE: Unable to Install Dependencies

      Yea I just solved the problem. I basically changed software from Raspbian Sketch to Raspbian Jessie. Thanks for helping.

      posted in Troubleshooting
      A
      alenba2
    • Unable to Install Dependencies

      Every time I try to install the magic mirror by using the command …

      bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
      

      I get thrown with this error after its done cloning Magic Mirror

      Cloning MagicMirror Done!
      Installing dependencies ...
      (node:8859) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
      npm WARN deprecated express-ipfilter@0.3.1: This package is no longer being maintained and contains security vulnerabilities
      npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
      npm ERR! Error: Method Not Allowed
      npm ERR!     at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10)
      npm ERR!     at /usr/share/npm/lib/cache/add-named.js:203:12
      npm ERR!     at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7)
      npm ERR!     at FSReqWrap.oncomplete (fs.js:135:15)
      npm ERR! If you need help, you may report this *entire* log,
      npm ERR! including the npm and node versions, at:
      npm ERR!     <http://github.com/npm/npm/issues>
      
      npm ERR! System Linux 4.14.79-v7+
      npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
      npm ERR! cwd /home/pi/MagicMirror
      npm ERR! node -v v8.11.1
      npm ERR! npm -v 1.4.21
      npm ERR! code E405
      npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
      |
      > electron-chromedriver@1.7.1 install /home/pi/MagicMirror/node_modules/spectron/node_modules/electron-chromedriver
      > node ./download-chromedriver.js
      
      npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
      npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
      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
      Unable to install dependencies!
      

      I’ve noticed the npm version is a little low, but when i try to get it to the latest version, I get thrown with this.

      pi@raspberrypi:~ $ npm install latest-version
      (node:8905) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
      npm ERR! tar.unpack untar error /home/pi/.npm/rc/1.2.8/package.tgz
      npm ERR! Error: Method Not Allowed
      npm ERR!     at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10)
      npm ERR!     at /usr/share/npm/lib/cache/add-named.js:203:12
      npm ERR!     at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7)
      npm ERR!     at FSReqWrap.oncomplete (fs.js:135:15)
      npm ERR! If you need help, you may report this *entire* log,
      npm ERR! including the npm and node versions, at:
      npm ERR!     <http://github.com/npm/npm/issues>
      
      npm ERR! System Linux 4.14.79-v7+
      npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "latest-version"
      npm ERR! cwd /home/pi
      npm ERR! node -v v8.11.1
      npm ERR! npm -v 1.4.21
      npm ERR! code E405
      npm ERR! 
      npm ERR! Additional logging details can be found in:
      npm ERR!     /home/pi/npm-debug.log
      npm ERR! not ok code 0
      

      I also tried to update npm again, but i get this.

      pi@raspberrypi:~ $ npm install latest-version
      (node:8915) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
      npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/pi/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc'
      npm ERR! error rolling back  package-json@5.0.0 { Error: ENOTEMPTY: directory not empty, rmdir '/home/pi/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc'
      npm ERR! error rolling back   errno: -39,
      npm ERR! error rolling back   code: 'ENOTEMPTY',
      npm ERR! error rolling back   syscall: 'rmdir',
      npm ERR! error rolling back   path: '/home/pi/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc' }
      npm ERR! tar.unpack untar error /home/pi/.npm/safe-buffer/5.1.2/package.tgz
      npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/pi/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules'
      npm ERR! error rolling back  latest-version@4.0.0 { Error: ENOTEMPTY: directory not empty, rmdir '/home/pi/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules'
      npm ERR! error rolling back   errno: -39,
      npm ERR! error rolling back   code: 'ENOTEMPTY',
      npm ERR! error rolling back   syscall: 'rmdir',
      npm ERR! error rolling back   path: '/home/pi/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules' }
      npm ERR! Error: Method Not Allowed
      npm ERR!     at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10)
      npm ERR!     at /usr/share/npm/lib/cache/add-named.js:203:12
      npm ERR!     at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7)
      npm ERR!     at FSReqWrap.oncomplete (fs.js:135:15)
      npm ERR! If you need help, you may report this *entire* log,
      npm ERR! including the npm and node versions, at:
      npm ERR!     <http://github.com/npm/npm/issues>
      
      npm ERR! System Linux 4.14.79-v7+
      npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "latest-version"
      npm ERR! cwd /home/pi
      npm ERR! node -v v8.11.1
      npm ERR! npm -v 1.4.21
      npm ERR! code E405
      npm ERR! 
      npm ERR! Additional logging details can be found in:
      npm ERR!     /home/pi/npm-debug.log
      npm ERR! not ok code 0
      

      The raspberry pi I’m using is a Raspberry Pi 3 Model B Rev 1.2.
      I’m not quite sure if the error is coming from this

      (node:8915) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
      

      or entirely something else.

      posted in Troubleshooting
      A
      alenba2