webcontainer-core icon indicating copy to clipboard operation
webcontainer-core copied to clipboard

terminal dies after running a test with vitest

Open steve-py96 opened this issue 3 years ago • 4 comments

Describe the bug

Just opening the reproduction link crashes the terminal after a ran test (it doesn't take any further inputs anymore)

Link to the blitz that caused the error

https://stackblitz.com/edit/vitejs-vite-smyhuu?file=package.json&terminal=test

Steps to reproduce

  1. open the link
  2. let the test finish
  3. try to do anything in the terminal or try to open a new one

Expected behavior

  • terminal still works
  • new terminal is openable

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 108.0.0.0
Major version = 108
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 126934464,
  "usedJSHeapSize": 100054432,
  "jsHeapSizeLimit": 4294705152
}
Hash = 6ebe18b1e1db1833797e3e4eb6ff802c375ee61b

Additional context

(stackblitz rocks <3)

steve-py96 avatar Dec 16 '22 10:12 steve-py96

Thanks @steve-py96 for this report. It might be a bug introduced by a recent release. I'll look into it but can't offer any timing on what this might be fixed.

SamVerschueren avatar Dec 22 '22 12:12 SamVerschueren

Hey @steve-py96 👋 I have tested your project again and it doesn't seem to be no longer an issue. Can you confirm this?

d3lm avatar Jan 04 '24 18:01 d3lm

@d3lm can confirm it runs thru now for me too, thanks for fixing <3

steve-py96 avatar Jan 08 '24 17:01 steve-py96

Nice. Thanks for confirming 🙏

d3lm avatar Jan 08 '24 17:01 d3lm