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-Screencast erro

    Scheduled Pinned Locked Moved Solved Troubleshooting
    23 Posts 4 Posters 5.4k Views 4 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.
    • I Offline
      iorifly @sdetweil
      last edited by

      @sdetweil

      This command worked. now stop underscore error.

      However I have the following error.

      pi@raspberrypi:~/MagicMirror $ npm start
      
      > magicmirror@2.10.0 start /home/pi/MagicMirror
      > ./run-start.sh
      
      [21:04:03.127] [LOG] Starting MagicMirror: v2.10.0
      [21:04:03.163] [LOG] Loading config ...
      [21:04:03.185] [LOG] Loading module helpers ...
      [21:04:03.191] [LOG] No helper found for module: alert.
      [21:04:03.401] [LOG] Initializing new module helper ...
      [21:04:03.405] [LOG] Module helper loaded: updatenotification
      [21:04:03.408] [LOG] No helper found for module: clock.
      [21:04:04.630] [LOG] Initializing new module helper ...
      [21:04:04.633] [LOG] Module helper loaded: MMM-Screencast
      [21:04:06.010] [LOG] Initializing new module helper ...
      [21:04:06.013] [LOG] Module helper loaded: calendar
      [21:04:06.016] [LOG] No helper found for module: compliments.
      [21:04:07.345] [LOG] Initializing new module helper ...
      [21:04:07.347] [LOG] Module helper loaded: MMM-DarkSkyForecast
      [21:04:07.457] [LOG] Initializing new module helper ...
      [21:04:07.460] [LOG] Module helper loaded: newsfeed
      [21:04:07.548] [LOG] Initializing new module helper ...
      [21:04:07.553] [LOG] Module helper loaded: MMM-HASS
      [21:04:07.557] [LOG] All module helpers loaded.
      [21:04:07.563] [LOG] Starting server on port 8080 ...
      [21:04:07.688] [LOG] Server started ...
      [21:04:07.695] [LOG] Connecting socket for: updatenotification
      [21:04:07.703] [LOG] Connecting socket for: MMM-Screencast
      [21:04:07.710] [LOG] Connecting socket for: calendar
      [21:04:07.716] [LOG] Starting node helper for: calendar
      [21:04:07.721] [LOG] Connecting socket for: MMM-DarkSkyForecast
      [21:04:07.724] [LOG] ====================== Starting node_helper for module [MMM-DarkSkyForecast]
      [21:04:07.729] [LOG] Connecting socket for: newsfeed
      [21:04:07.734] [LOG] Starting module: newsfeed
      [21:04:07.740] [LOG] Connecting socket for: MMM-HASS
      [21:04:07.745] [LOG] Sockets connected & modules started ...
      [21:04:07.748] [LOG]
      Ready to go! Please point your browser to: http://localhost:8080
      Starting chromium browser now, have patience, it takes a minute
       --disable-quic --enable-tcp-fast-open --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --ppapi-flash-version=
      events.js:174
            throw er; // Unhandled 'error' event
            ^
      
      Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
          at doWrite (_stream_writable.js:411:19)
          at writeOrBuffer (_stream_writable.js:399:5)
          at Socket.Writable.write (_stream_writable.js:299:11)
          at Console.con.(anonymous function) [as log] (/home/pi/MagicMirror/node_modules/console-stamp/main.js:150:46)
          at process.<anonymous> (/home/pi/MagicMirror/js/app.js:40:10)
          at process.emit (events.js:198:13)
          at process._fatalException (internal/bootstrap/node.js:497:27)
      ^C
      

      pi@raspberrypi:~/MagicMirror $

      PS: Sorry for the delay I was without network for 5 days.

      1 Reply Last reply Reply Quote 0
      • I Offline
        iorifly
        last edited by

        @iorifly said in MMM-Screencast erro:

        pi@raspberrypi:~/MagicMirror $ npm start

        magicmirror@2.10.0 start /home/pi/MagicMirror
        ./run-start.sh

        [21:04:03.127] [LOG] Starting MagicMirror: v2.10.0
        [21:04:03.163] [LOG] Loading config …
        [21:04:03.185] [LOG] Loading module helpers …
        [21:04:03.191] [LOG] No helper found for module: alert.
        [21:04:03.401] [LOG] Initializing new module helper …
        [21:04:03.405] [LOG] Module helper loaded: updatenotification
        [21:04:03.408] [LOG] No helper found for module: clock.
        [21:04:04.630] [LOG] Initializing new module helper …
        [21:04:04.633] [LOG] Module helper loaded: MMM-Screencast
        [21:04:06.010] [LOG] Initializing new module helper …
        [21:04:06.013] [LOG] Module helper loaded: calendar
        [21:04:06.016] [LOG] No helper found for module: compliments.
        [21:04:07.345] [LOG] Initializing new module helper …
        [21:04:07.347] [LOG] Module helper loaded: MMM-DarkSkyForecast
        [21:04:07.457] [LOG] Initializing new module helper …
        [21:04:07.460] [LOG] Module helper loaded: newsfeed
        [21:04:07.548] [LOG] Initializing new module helper …
        [21:04:07.553] [LOG] Module helper loaded: MMM-HASS
        [21:04:07.557] [LOG] All module helpers loaded.
        [21:04:07.563] [LOG] Starting server on port 8080 …
        [21:04:07.688] [LOG] Server started …
        [21:04:07.695] [LOG] Connecting socket for: updatenotification
        [21:04:07.703] [LOG] Connecting socket for: MMM-Screencast
        [21:04:07.710] [LOG] Connecting socket for: calendar
        [21:04:07.716] [LOG] Starting node helper for: calendar
        [21:04:07.721] [LOG] Connecting socket for: MMM-DarkSkyForecast
        [21:04:07.724] [LOG] ====================== Starting node_helper for module [MMM-DarkSkyForecast]
        [21:04:07.729] [LOG] Connecting socket for: newsfeed
        [21:04:07.734] [LOG] Starting module: newsfeed
        [21:04:07.740] [LOG] Connecting socket for: MMM-HASS
        [21:04:07.745] [LOG] Sockets connected & modules started …
        [21:04:07.748] [LOG]
        Ready to go! Please point your browser to: http://localhost:8080
        Starting chromium browser now, have patience, it takes a minute
        –disable-quic --enable-tcp-fast-open --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --ppapi-flash-version=
        events.js:174
        throw er; // Unhandled ‘error’ event
        ^

        Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
        at doWrite (_stream_writable.js:411:19)
        at writeOrBuffer (_stream_writable.js:399:5)
        at Socket.Writable.write (_stream_writable.js:299:11)
        at Console.con.(anonymous function) [as log] (/home/pi/MagicMirror/node_modules/console-stamp/main.js:150:46)
        at process. (/home/pi/MagicMirror/js/app.js:40:10)
        at process.emit (events.js:198:13)
        at process._fatalException (internal/bootstrap/node.js:497:27)

        And all the modules are loading …

        1 Reply Last reply Reply Quote 0
        • C Offline
          cyberphox
          last edited by

          When I try to run npm install after installing this module I get

          npm ERR! zlib: invalid distance too far back

          What the heck?

          Full time Dad, DJ and entertainer and lover of technology.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1
          • 2
          • 2 / 2
          • 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