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

npm start error

  • After 3 days of mm uptime i rebooted my rpi and pm2 did not start mm.I run npm start and i get this error:

    A JavaScript error occurred in the main process
    Uncaught Exception:
    Error: Cannot find module 'depd'
        at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
        at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
        at Function.Module._load (internal/modules/cjs/loader.js:528:25)
        at Module.require (internal/modules/cjs/loader.js:658:17)
        at require (internal/modules/cjs/helpers.js:20:18)
        at Object. (/home/pi/MagicMirror/node_modules/body-parser/index.js:14:17)
        at Object. (/home/pi/MagicMirror/node_modules/body-parser/index.js:159:3)
        at Module._compile (internal/modules/cjs/loader.js:711:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
        at Module.load (internal/modules/cjs/loader.js:620:32)

    any ideas of what happened?

  • Do have the same problem after upgrade to 2.10.0.

    Any hints?

  • Both do

    cd ~/MagicMirror
    npm install

    You should not upgrade while mirror is running

    Apparently neither used the upgrade script, right?

Log in to reply