I had MagicMirror 2.7 installed and it was working fine. I hadn’t gotten very far along with it when I upgraded to 2.8 and it black screened on me. I know that there are some threads discussing this but I decided to wipe everything and start over.
I have a completely fresh and updated Raspbian install and when I run the installer script I get the following errors.
Installing dependencies ...
(node:4177) [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.5.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/issues>
npm ERR! System Linux 4.19.57-v7+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /root/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 /root/MagicMirror/node_modules/spectron/node_modules/electron-chromedriver
> node ./download-chromedriver.js
module.js:549
throw err;
^
Error: Cannot find module '/root/MagicMirror/node_modules/spectron/node_modules/electron-chromedriver/download-chromedriver.js'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/root/MagicMirror/node_modules/spectron/node_modules/webdriverio/lib/commands'
npm ERR! error rolling back spectron@3.8.0 { Error: ENOTEMPTY: directory not empty, rmdir '/root/MagicMirror/node_modules/spectron/node_modules/webdriverio/lib/commands'
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: '/root/MagicMirror/node_modules/spectron/node_modules/webdriverio/lib/commands' }
npm ERR! tar.unpack untar error /root/.npm/postcss-jsx/0.36.2/package.tgz
npm ERR! tar.unpack untar error /root/.npm/table/5.4.4/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/root/MagicMirror/node_modules/stylelint/node_modules/postcss/lib'
npm ERR! error rolling back stylelint@10.1.0 { Error: ENOTEMPTY: directory not empty, rmdir '/root/MagicMirror/node_modules/stylelint/node_modules/postcss/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: '/root/MagicMirror/node_modules/stylelint/node_modules/postcss/lib' }
npm ERR! tar.unpack untar error /root/.npm/escape-string-regexp/1.0.5/package.tgz
npm ERR! tar.unpack untar error /root/.npm/supports-color/5.5.0/package.tgz
npm ERR! tar.unpack untar error /root/.npm/postcss-selector-parser/3.1.1/package.tgz
npm ERR! tar.unpack untar error /root/.npm/autoprefixer/9.6.1/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/root/MagicMirror/node_modules/stylelint/node_modules/chalk/node_modules/ansi-styles'
npm ERR! error rolling back chalk@2.4.2 { Error: ENOTEMPTY: directory not empty, rmdir '/root/MagicMirror/node_modules/stylelint/node_modules/chalk/node_modules/ansi-styles'
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: '/root/MagicMirror/node_modules/stylelint/node_modules/chalk/node_modules/ansi-styles' }
npm ERR! tar.unpack untar error /root/.npm/remark-parse/6.0.3/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/root/MagicMirror/node_modules/stylelint/node_modules/postcss-markdown/node_modules/remark/node_modules/remark-stringify/lib/util'
npm ERR! error rolling back remark@10.0.1 { Error: ENOTEMPTY: directory not empty, rmdir '/root/MagicMirror/node_modules/stylelint/node_modules/postcss-markdown/node_modules/remark/node_modules/remark-stringify/lib/util'
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: '/root/MagicMirror/node_modules/stylelint/node_modules/postcss-markdown/node_modules/remark/node_modules/remark-stringify/lib/util' }
npm ERR! tar.unpack untar error /root/.npm/remark-stringify/6.0.4/package.tgz
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/MagicMirror/npm-debug.log
npm ERR! not ok code 0
Unable to install dependencies!
Any help with these errors or help installing 2.7 appreciated, Thanks.