MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.25.0 is available! For more information about this release, check out this topic.

    UNSOLVED npm start error

    Troubleshooting
    3
    3
    607
    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.
    • C
      costascontis last edited by

      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.<anonymous> (/home/pi/MagicMirror/node_modules/body-parser/index.js:14:17)
          at Object.<anonymous> (/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?

      1 Reply Last reply Reply Quote 0
      • B
        Binog last edited by

        Do have the same problem after upgrade to 2.10.0.

        Any hints?

        1 Reply Last reply Reply Quote 0
        • S
          sdetweil last edited by

          Both do

          cd ~/MagicMirror
          npm install
          

          You should not upgrade while mirror is running

          Apparently neither used the upgrade script, right?

          Sam

          Create a working config
          How to add modules

          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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy