question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error running browser: Cannot call write after a stream was destroyed

See original GitHub issue

Run with debug (Chrome preview) results in the following error:

Error running browser: Cannot call write after a stream was destroyed

I have installed the companion (or it was done for me) outside the remote container and in the remote container I have installed the workspace plugin vscode-js-nightly.

image

Version: 1.45.1
Commit: 5763d909d5f12fe19f215cbfdd29a91c0fa9208a
Date: 2020-05-14T08:27:22.494Z
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.4.0-31-generic

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
connor4312commented, May 29, 2020

I’m having trouble reproducing this. Can you please do the following:

  1. Verify that you have the extension id:ms-vscode.js-debug-companion installed on your local machine
  2. Enable trace: true in your launch config, and share the logs if you’re able
0reactions
80saxcommented, Jul 25, 2020

I think the error is present using “request”: “launch” https://github.com/microsoft/vscode-js-debug/issues/659

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot call write after a stream was destroyed - Stack Overflow
i use puppeteer-recorder,code is: await record({ browser: ...
Read more >
Error [ERR_STREAM_DESTROYED] - MagicMirror Forum
Seems like it's loosing internet connections or something, since modules fails to fetch new data after the error. Can't find additional error ...
Read more >
can't manual add nodejs core-module for debug : WEB-35494
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed at doWrite (_stream_writable.js:406:19) at clearBuffer ...
Read more >
Cannot call write after a stream was destroyed while running a ...
Javascript – Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed while running a email reading code.
Read more >
Backpressuring in Streams - Node.js
There is a general problem that occurs during data handling called backpressure and describes a buildup of data behind a buffer during data...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found