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.

    MMM-Face-Reco-DNN Problem

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 2 Posters 379 Views 2 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.
    • ParvezP Offline
      Parvez
      last edited by

      MMM-Face-Reco-DNN dose not work

      When i stop npm magic mirror show thats code :

      [2020-07-24 22:24:05.148] [LOG] [MMM-Face-Reco-DNN] Terminate python
      events.js:177
      throw er; // Unhandled ‘error’ event
      ^

      Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
      at doWrite (_stream_writable.js:413:19)
      at writeOrBuffer (_stream_writable.js:401:5)
      at WriteStream.Writable.write (_stream_writable.js:301:11)
      at Object.con. [as error] (/home/pi/MagicMirror/node_modules/console-stamp/main.js:148:46)
      at process. (/home/pi/MagicMirror/js/app.js:37:6)
      at process.emit (events.js:205:15)
      at processEmit [as emit] (/home/pi/MagicMirror/modules/MMM-Face-Reco-DNN/node_modules/signal-exit/index.js:155:32)
      at process._fatalException (internal/process/execution.js:146:25)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 7
      npm ERR! magicmirror@2.12.0 start: DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js "dav"
      npm ERR! Exit status 7
      npm ERR!
      npm ERR! Failed at the magicmirror@2.12.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2020-07-24T16_24_05_354Z-debug.log

      Parvez Ahmed

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

        @Parvez

        When i stop npm magic mirror
        

        could u explain that? there is no npm stop command.

        there is for pm2, but not npm

        there error here is because of python

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        ParvezP 1 Reply Last reply Reply Quote 0
        • ParvezP Offline
          Parvez @sdetweil
          last edited by

          @sdetweil i start magic mirror : ~/MagicMirror $ npm start
          and stop mirror Ctrl+q then show that error code .

          -my english is not good

          Parvez Ahmed

          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