MagicMirror² v2.8.0 is available! For more information about this release, check out this topic.

unable to install dependencies



  • Hi,
    on my raspberry pi model 3 B+ with raspbian, I can’t install dependencies.
    nodejs and npm installed :
    nodejs : v10.15.3
    npm : 6.9.0

    root@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 nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
    npm WARN tar ENOENT: no such file or directory, open ‘/root/MagicMirror/node_modules/.staging/wdio-dot-reporter-172d5a83/lib/reporter.js’
    npm WARN tar ENOENT: no such file or directory, open ‘/root/MagicMirror/node_modules/.staging/w3c-hr-time-b0db04bb/package.json’
    npm WARN tar ENOENT: no such file or directory, open ‘/root/MagicMirror/node_modules/.staging/jsprim-608f0a49/lib/jsprim.js’
    npm WARN tar ENOENT: no such file or directory, lstat ‘/root/MagicMirror/node_modules/.staging/w3c-hr-time-b0db04bb/coverage/hr-time’
    npm WARN tar ENOENT: no such file or directory, open ‘/root/MagicMirror/node_modules/.staging/socket.io-client-9b11ffbf/dist/socket.io.slim.dev.js.map’
    npm WARN tar ENOENT: no such file or directory, open ‘/root/MagicMirror/node_modules/.staging/mocha-f71b53de/README.md’
    npm WARN tar ENOENT: no such file or directory, open ‘/root/MagicMirror/node_modules/.staging/w3c-hr-time-b0db04bb/lib/calculate-clock-offset.js’
    npm WARN tar ENOENT: no such file or directory, open ‘/root/MagicMirror/node_modules/.staging/w3c-hr-time-b0db04bb/lib/clock-is-accurate.js’
    npm WARN tar ENOENT: no such file or directory, open ‘/root/MagicMirror/node_modules/.staging/w3c-hr-time-b0db04bb/lib/global-monotonic-clock.js’
    npm WARN tar ENOENT: no such file or directory, open ‘/root/MagicMirror/node_modules/.staging/w3c-hr-time-b0db04bb/lib/performance.js’
    npm WARN tar ENOENT: no such file or directory, open ‘/root/MagicMirror/node_modules/.staging/w3c-hr-time-b0db04bb/lib/utils.js’
    npm WARN tar ENOENT: no such file or directory, lstat ‘/root/MagicMirror/node_modules/.staging/w3c-hr-time-b0db04bb/coverage/hr-time’


  • Module Developer

    @Terrago37
    You are logged in as root, did you try with logged in as pi?

    AxLED



  • Hi AxLed,
    thank you, it’s works only in “pi” user.