• 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.

Can't install; trouble with nodejs and npm

Scheduled Pinned Locked Moved Unsolved Troubleshooting
4 Posts 3 Posters 1.1k 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.
  • B Offline
    bm
    last edited by sdetweil Feb 4, 2020, 1:06 PM Feb 1, 2020, 12:15 AM

    I have tried so much troubleshooting and I just don’t know what to do anymore. After restarting everything and completely reinstalling raspbian and FINALLY installing node, and npm, I get this after trying to install (I couldn’t fit the last few lines):

    pi@raspberrypi:~/MagicMirror $ npm install
    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 deprecated rrule-alt@2.2.8: Please use rrule instead
    npm WARN engine chai@4.2.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine grunt-eslint@22.0.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine grunt-jsonlint@2.1.1: wanted: {"node":">=6"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine grunt-markdownlint@2.9.0: wanted: {"node":">=6","npm":">=3"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine http-auth@3.2.4: wanted: {"node":">=4.6.1"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine spectron@3.8.0: wanted: {"node":">=0.12.4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine express-ipfilter@1.1.1: wanted: {"node":">=8.9.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine feedme@1.2.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine helmet@3.21.2: wanted: {"node":">=4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine request@2.88.0: wanted: {"node":">= 4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine mocha@4.1.0: wanted: {"node":">= 4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine electron@3.1.13: wanted: {"node":">= 4.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine mocha@5.2.0: wanted: {"node":">= 4.0.0"} (current: {"node":"0.10.29","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 Object.oncomplete (fs.js:107: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.4.34-v7+
    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 E405
    npm WARN engine expect-ct@0.2.0: wanted: {"node":">=4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine x-xss-protection@1.3.0: wanted: {"node":">=4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine dont-sniff-mimetype@1.1.0: wanted: {"node":">=4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine dns-prefetch-control@0.2.0: wanted: {"node":">=4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine feature-policy@0.3.0: wanted: {"node":">=4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine frameguard@3.1.0: wanted: {"node":">=4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine helmet-crossdomain@0.4.0: wanted: {"node":">=4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine nocache@2.1.0: wanted: {"node":">=4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine hide-powered-by@1.1.0: wanted: {"node":">=4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine referrer-policy@1.2.0: wanted: {"node":">=4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine hsts@2.2.0: wanted: {"node":">=4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine helmet-csp@2.9.4: wanted: {"node":">=4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine ienoopen@1.1.0: wanted: {"node":">=4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine eventyoshi@0.2.1: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine chalk@2.4.2: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine chalk@2.4.2: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine eslint@6.8.0: wanted: {"node":"^8.10.0 || ^10.13.0 || >=11.10.1"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine apache-crypt@1.2.1: wanted: {"node":">=4.6.1"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine apache-md5@1.1.2: wanted: {"node":">=4.6.1"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine markdownlint@0.19.0: wanted: {"node":">=10"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine grunt-legacy-util@1.1.1: wanted: {"node":">= 6"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine supports-color@5.5.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine ansi-styles@3.2.1: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine ansi-styles@3.2.1: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine supports-color@5.5.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN deprecated webdriverio@4.14.4: outdated version, please use @next
    npm WARN engine has-flag@3.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine content-security-policy-builder@2.1.0: wanted: {"node":">=4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine webdriverio@4.14.4: wanted: {"node":">= 4.8.5"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine har-validator@5.1.3: wanted: {"node":">=6"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine form-data@2.3.3: wanted: {"node":">= 0.12"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine base64id@2.0.0: wanted: {"node":"^4.5.0 || >= 5.9"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine ws@7.2.1: wanted: {"node":">=8.3.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine has-flag@3.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine grunt-legacy-log-utils@2.0.1: wanted: {"node":">=6"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine chalk@2.4.2: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine electron-download@4.1.1: wanted: {"node":">= 4.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine har-schema@2.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine mime@1.6.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN optional dep failed, continuing electron@3.1.13
    npm WARN engine supports-color@5.5.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine ansi-styles@3.2.1: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine path-exists@3.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine sumchecker@2.0.2: wanted: {"node":">= 4.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine env-paths@1.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine has-flag@3.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine esprima@4.0.1: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine deep-extend@0.6.0: wanted: {"node":">=4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine universalify@0.1.2: wanted: {"node":">= 4.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine deep-eql@3.0.1: wanted: {"node":">=0.12"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine type-detect@4.0.8: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine esprima@4.0.1: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine supports-color@4.4.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine growl@1.10.3: wanted: {"node":">=4.x"} (current: {"node":"0.10.29","npm":"1.4.21"})
     
    > console-stamp@0.2.9 postinstall /home/pi/MagicMirror/node_modules/console-stamp
    > node ./msg.js
    
    Attention
        Console-stamp version 3.0.0 Release Candidate is out. Install by using the tag '@next'. NB: Breaking changes.
        For more details goto: https://www.npmjs.com/package/console-stamp/v/next
    
    npm WARN engine growl@1.10.5: wanted: {"node":">=4.x"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine supports-color@5.4.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine has-flag@3.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
     
    > utf-8-validate@5.0.2 install /home/pi/MagicMirror/node_modules/socket.io/node_modules/engine.io/node_modules/utf-8-validate
    > node-gyp-build
    
    make: Entering directory '/home/pi/MagicMirror/node_modules/socket.io/node_modules/engine.io/node_modules/utf-8-validate/build'
      CC(target) Release/obj.target/validation/src/validation.o
    ../src/validation.c:3:22: fatal error: node_api.h: No such file or directory
     #include <node_api.h>
                          ^
    compilation terminated.
    validation.target.mk:82: recipe for target 'Release/obj.target/validation/src/validation.o' failed
    make: *** [Release/obj.target/validation/src/validation.o] Error 1
    make: Leaving directory '/home/pi/MagicMirror/node_modules/socket.io/node_modules/engine.io/node_modules/utf-8-validate/build'
    gyp ERR! build error 
    gyp ERR! stack Error: `make` failed with exit code: 2
    gyp ERR! stack     at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
    gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:809:12)
    gyp ERR! System Linux 4.4.34-v7+
    gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
    gyp ERR! cwd /home/pi/MagicMirror/node_modules/socket.io/node_modules/engine.io/node_modules/utf-8-validate
    gyp ERR! node -v v0.10.29
    gyp ERR! node-gyp -v v0.12.2
    gyp ERR! not ok 
    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
     
    
    > bufferutil@4.0.1 install /home/pi/MagicMirror/node_modules/socket.io/node_modules/engine.io/node_modules/bufferutil
    > node-gyp-build
    
    
    node.js:815
        var cwd = process.cwd();
                          ^
    Error: ENOENT, no such file or directory
        at Function.startup.resolveArgv0 (node.js:815:23)
        at startup (node.js:58:13)
        at node.js:906:3
    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: ENOENT, lstat '/home/pi/MagicMirror/node_modules/socket.io/node_modules/socket.io-client/dist/socket.io.slim.js.map'
    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.4.34-v7+
    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! path /home/pi/MagicMirror/node_modules/socket.io/node_modules/socket.io-client/dist/socket.io.slim.js.map
    npm ERR! fstream_path /home/pi/MagicMirror/node_modules/socket.io/node_modules/socket.io-client/dist/socket.io.slim.js.map
    npm ERR! fstream_type File
    npm ERR! fstream_class FileWriter
    npm ERR! code ENOENT
    npm ERR! errno 34
    npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
    npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
    \
    > electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/spectron/node_modules/electron-chromedriver
    > node ./download-chromedriver.js
    
    \
    /home/pi/MagicMirror/node_modules/spectron/node_modules/electron-chromedriver/node_modules/electron-download/lib/index.js:3
    const arch = require('./arch')
    ^^^^^
    SyntaxError: Use of const in strict mode.
        at Module._compile (module.js:439:25)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
        at Module.require (module.js:364:17)
        at require (module.js:380:17)
        at Object.<anonymous> (/home/pi/MagicMirror/node_modules/spectron/node_modules/electron-chromedriver/download-chromedriver.js:3:24)
        at Module._compile (module.js:456:26)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
    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, rmdir '/home/pi/MagicMirror/node_modules/spectron/node_modules/webdriverio/docs/guide'
    npm ERR! error rolling back  spectron@3.8.0 { [Error: ENOTEMPTY, rmdir '/home/pi/MagicMirror/node_modules/spectron/node_modules/webdriverio/docs/guide']
    npm ERR! error rolling back   errno: 53,
    npm ERR! error rolling back   code: 'ENOTEMPTY',
    npm ERR! error rolling back   path: '/home/pi/MagicMirror/node_modules/spectron/node_modules/webdriverio/docs/guide' }
    npm WARN engine punycode@2.1.1: wanted: {"node":">=6"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine get-stdin@7.0.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine string-width@4.2.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine meow@6.0.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine strip-ansi@6.0.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine execall@2.0.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine chalk@3.0.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine leven@3.1.0: wanted: {"node":">=6"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine log-symbols@3.0.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine import-lazy@4.0.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine global-modules@2.0.0: wanted: {"node":">=6"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine resolve-from@5.0.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine slash@3.0.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine postcss-safe-parser@4.0.1: wanted: {"node":">=6.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine html-tags@3.1.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine postcss-reporter@6.0.1: wanted: {"node":">=6"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine file-entry-cache@5.0.1: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine globby@11.0.0: wanted: {"node":">=10"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine postcss-scss@2.0.0: wanted: {"node":">=6.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine postcss-less@3.1.4: wanted: {"node":">=6.14.4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine postcss-selector-parser@3.1.1: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine ignore@5.1.4: wanted: {"node":">= 4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine cosmiconfig@6.0.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine table@5.4.6: wanted: {"node":">=6.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine micromatch@4.0.2: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine autoprefixer@9.7.4: wanted: {"node":">=6.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine postcss@7.0.26: wanted: {"node":">=6.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine chalk@2.4.2: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart()
    npm WARN engine ansi-regex@5.0.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine global-prefix@3.0.0: wanted: {"node":">=6"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine clone-regexp@2.2.0: wanted: {"node":">=6"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine is-fullwidth-code-point@3.0.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-jsx'
    npm ERR! error rolling back  stylelint@13.0.0 { [Error: ENOTEMPTY, rmdir '/home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-jsx']
    npm ERR! error rolling back   errno: 53,
    npm ERR! error rolling back   code: 'ENOTEMPTY',
    npm ERR! error rolling back   path: '/home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-jsx' }
    npm ERR! Error: ENOENT, lstat '/home/pi/MagicMirror/node_modules/stylelint/node_modules/ignore/README.md'
    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.4.34-v7+
    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! path /home/pi/MagicMirror/node_modules/stylelint/node_modules/ignore/README.md
    npm ERR! fstream_path /home/pi/MagicMirror/node_modules/stylelint/node_modules/ignore/README.md
    npm ERR! fstream_type File
    npm ERR! fstream_class FileWriter
    npm ERR! code ENOENT
    npm ERR! errno 34
    npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
    npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
    npm ERR! Error: ENOENT, lstat '/home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-syntax/README.md'
    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.4.34-v7+
    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! path /home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-syntax/README.md
    npm ERR! fstream_path /home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-syntax/README.md
    npm ERR! fstream_type File
    npm ERR! fstream_class FileWriter
    npm ERR! code ENOENT
    npm ERR! errno 34
    npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
    npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
    npm ERR! Error: ENOENT, lstat '/home/pi/MagicMirror/node_modules/stylelint/node_modules/cosmiconfig/dist/cacheWrapper.d.ts.map'
    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.4.34-v7+
    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! path /home/pi/MagicMirror/node_modules/stylelint/node_modules/cosmiconfig/dist/cacheWrapper.d.ts.map
    npm ERR! fstream_path /home/pi/MagicMirror/node_modules/stylelint/node_modules/cosmiconfig/dist/cacheWrapper.d.ts.map
    npm ERR! fstream_type File
    npm ERR! fstream_class FileWriter
    npm ERR! code ENOENT
    npm ERR! errno 34
    npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
    npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
    npm ERR! Error: ENOENT, lstat '/home/pi/MagicMirror/node_modules/stylelint/node_modules/autoprefixer/lib/hacks/block-logical.js'
    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.4.34-v7+
    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! path /home/pi/MagicMirror/node_modules/stylelint/node_modules/autoprefixer/lib/hacks/block-logical.js
    npm ERR! fstream_path /home/pi/MagicMirror/node_modules/stylelint/node_modules/autoprefixer/lib/hacks/block-logical.js
    npm ERR! fstream_type File
    npm ERR! fstream_class FileWriter
    npm ERR! code ENOENT
    npm ERR! errno 34
    npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
    npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
    npm ERR! Error: ENOENT, utime '/home/pi/MagicMirror/node_modules/stylelint/node_modules/log-symbols/node_modules/chalk/index.js.flow'
    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.4.34-v7+
    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! path /home/pi/MagicMirror/node_modules/stylelint/node_modules/log-symbols/node_modules/chalk/index.js.flow
    npm ERR! fstream_path /home/pi/MagicMirror/node_modules/stylelint/node_modules/log-symbols/node_modules/chalk/index.js.flow
    npm ERR! fstream_type File
    npm ERR! fstream_class FileWriter
    npm ERR! fstream_finish_call utimes
    npm ERR! code ENOENT
    npm ERR! errno 34
    npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:305:19
    npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
    npm ERR! Error: ENOENT, lstat '/home/pi/MagicMirror/node_modules/stylelint/node_modules/specificity/test/test.js'
    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.4.34-v7+
    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! path /home/pi/MagicMirror/node_modules/stylelint/node_modules/specificity/test/test.js
    npm ERR! fstream_path /home/pi/MagicMirror/node_modules/stylelint/node_modules/specificity/test/test.js
    npm ERR! fstream_type File
    npm ERR! fstream_class FileWriter
    npm ERR! code ENOENT
    npm ERR! errno 34
    npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
    npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
    npm ERR! Error: ENOENT, lstat '/home/pi/MagicMirror/node_modules/stylelint/node_modules/sugarss/parser.js'
    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.4.34-v7+
    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! path /home/pi/MagicMirror/node_modules/stylelint/node_modules/sugarss/parser.js
    npm ERR! fstream_path /home/pi/MagicMirror/node_modules/stylelint/node_modules/sugarss/parser.js
    npm ERR! fstream_type File
    npm ERR! fstream_class FileWriter
    npm ERR! code ENOENT
    npm ERR! errno 34
    npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
    npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
    npm ERR! Error: ENOENT, lstat '/home/pi/MagicMirror/node_modules/stylelint/node_modules/micromatch/README.md'
    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.4.34-v7+
    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! path /home/pi/MagicMirror/node_modules/stylelint/node_modules/micromatch/README.md
    npm ERR! fstream_path /home/pi/MagicMirror/node_modules/stylelint/node_modules/micromatch/README.md
    npm ERR! fstream_type File
    npm ERR! fstream_class FileWriter
    npm ERR! code ENOENT
    npm ERR! errno 34
    npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
    npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
    npm ERR! Error: ENOENT, lstat '/home/pi/MagicMirror/node_modules/stylelint/node_modules/debug/dist/debug.js'
    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.4.34-v7+
    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! path /home/pi/MagicMirror/node_modules/stylelint/node_modules/debug/dist/debug.js
    npm ERR! fstream_path /home/pi/MagicMirror/node_modules/stylelint/node_modules/debug/dist/debug.js
    npm ERR! fstream_type File
    npm ERR! fstream_class FileWriter
    npm ERR! code ENOENT
    npm ERR! errno 34
    npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
    npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
    npm WARN engine chalk@2.4.2: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine log-symbols@2.2.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm ERR! Error: ENOENT, lstat '/home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-sass/parser.js'
    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.4.34-v7+
    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! path /home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-sass/parser.js
    npm ERR! fstream_path /home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-sass/parser.js
    npm ERR! fstream_type File
    npm ERR! fstream_class FileWriter
    npm ERR! code ENOENT
    npm ERR! errno 34
    npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
    npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
    npm ERR! Error: ENOENT, lstat '/home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-selector-parser/dist/parser.js'
    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.4.34-v7+
    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! path /home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-selector-parser/dist/parser.js
    npm ERR! fstream_path /home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-selector-parser/dist/parser.js
    npm ERR! fstream_type File
    npm ERR! fstream_class FileWriter
    npm ERR! code ENOENT
    npm ERR! errno 34
    npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
    npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
    npm WARN engine flat-cache@2.0.1: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm ERR! Error: ENOENT, lstat '/home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss/lib/container.js'
    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.4.34-v7+
    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! path /home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss/lib/container.js
    npm ERR! fstream_path /home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss/lib/container.js
    npm ERR! fstream_type File
    npm ERR! fstream_class FileWriter
    npm ERR! code ENOENT
    npm ERR! errno 34
    npm ERR! fstream_stack /usr/lib/nodejs/fstream/lib/writer.js:284:26
    npm ERR! fstream_stack Object.oncomplete (evalmachine.<anonymous>:107:15)
    npm WARN engine request-promise-native@1.0.8: wanted: {"node":">=0.12.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine escodegen@1.13.0: wanted: {"node":">=4.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine array-union@2.1.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine merge2@1.3.0: wanted: {"node":">= 6"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine dir-glob@3.0.1: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine fast-glob@3.1.1: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine supports-color@7.1.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine ansi-styles@4.2.1: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine is-regexp@2.1.0: wanted: {"node":">=6"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine path-type@4.0.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine has-flag@4.0.0: wanted: {"node":">=8"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine write@1.0.3: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine readable-stream@3.5.0: wanted: {"node":">= 6"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine punycode@2.1.1: wanted: {"node":">=6"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine esprima@4.0.1: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm WARN engine estraverse@4.3.0: wanted: {"node":">=4.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
    npm ERR! error rolling back Error: ENOTEMPTY, 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, 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: 53,
    npm ERR! error rolling back   code: 'ENOTEMPTY',
    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! Error: ENOENT, open '/home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-markdown/node_modules/remark/node_modules/remark-stringify/lib/visitors/delete.js'
    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.4.34-v7+
    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! path /home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-markdown/node_modules/remark/node_modules/remark-stringify/lib/visitors/delete.js
    npm ERR! code ENOENT
    npm ERR! errno 34
    npm ERR! Error: ENOENT, lstat '/home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-markdown/node_modules/remark/node_modules/remark-parse/lib/tokenize/definition.js'
    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.4.34-v7+
    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! path /home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-markdown/node_modules/remark/node_modules/remark-parse/lib/tokenize/definition.js
    npm ERR! fstream_path /home/pi/MagicMirror/node_modules/stylelint/node_modules/postcss-markdown/node_modules/remark/node_modules/remark-parse/lib/tokenize/definition.js
    npm ERR! fstream_type File
    npm ERR! fstream_class FileWriter
    npm ERR! code ENOENT
    
    S Mykle1M 3 Replies Last reply Feb 1, 2020, 12:35 AM Reply Quote 1
    • S Offline
      sdetweil @bm
      last edited by sdetweil Feb 4, 2020, 1:07 PM Feb 1, 2020, 12:35 AM

      @bm erase the MagicMirror folder and use my install script from here
      https://github.com/sdetweil/MagicMirror_scripts

      Node and npm are way downlevel.

      npm ERR! node -v v0.10.29
      npm ERR! npm -v 1.4.21
      

      current node is 10.17 or higher
      current npm is 6.x

      The automated install script fixes that

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 2
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @bm
        last edited by Feb 1, 2020, 1:17 AM

        @bm

        And please use a code block when posting code or terminal output. Your post is incredibly difficult to read otherwise.

        https://forum.magicmirror.builders/topic/4247/how-to-post-code-on-the-forum-for-absolute-beginners

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 1
        • S Offline
          sdetweil @bm
          last edited by Feb 8, 2020, 8:50 PM

          @bm did you get your system set up ?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          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