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.

    npm start error

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    3 Posts 3 Posters 827 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.
    • C Offline
      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 Offline
        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 Offline
          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

          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