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

MMM-Face-Reco-DNN Problem

  • 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
    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

    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

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

    -my english is not good

Log in to reply