Read the statement by Michael Teeuw here.
Error with Dependencies. ( Newbie)..
-
Installing dependencies …
(node:20440) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
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 WARN engine grunt-markdownlint@2.6.0: wanted: {“node”:“>=6”,“npm”:“>=3”} (current: {“node”:“8.11.1”,“npm”:“1.4.21”})
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:120: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/issuesnpm ERR! System Linux 4.19.42-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
|electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/spectron/node_modules/electron-chromedriver
node ./download-chromedriver.jssuccessfully dowloaded and extracted!
npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir ‘/home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-jsx’
npm ERR! error rolling back stylelint@10.1.0 { Error: ENOTEMPTY: directory not empty, rmdir ‘/home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-jsx’
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/MagicMirror/node_modules/stylelint/node_modules/postcss-jsx’ }
npm ERR! tar.unpack untar error /home/pi/.npm/postcss-syntax/0.36.2/package.tgz
npm ERR! tar.unpack untar error /home/pi/.npm/supports-color/5.5.0/package.tgz
npm ERR! tar.unpack untar error /home/pi/.npm/ansi-styles/3.2.1/package.tgz
npm ERR! tar.unpack untar error /home/pi/.npm/autoprefixer/9.6.1/package.tgz
npm ERR! tar.unpack untar error /home/pi/.npm/remark-stringify/6.0.4/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir ‘/home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-markdown/node_modules/remark/node_modules/remark-parse/lib’
npm ERR! error rolling back remark@10.0.1 { Error: ENOTEMPTY: directory not empty, rmdir ‘/home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-markdown/node_modules/remark/node_modules/remark-parse/lib’
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/MagicMirror/node_modules/stylelint/node_modules/postcss-markdown/node_modules/remark/node_modules/remark-parse/lib’ }
npm ERR! tar.unpack untar error /home/pi/.npm/remark-parse/6.0.3/package.tgzcore-js@2.6.9 postinstall /home/pi/MagicMirror/node_modules/spectron/node_modules/webdriverio/node_modules/babel-runtime/node_modules/core-js
node scripts/postinstall || echo “ignore”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!