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

t._onTimeout is not a function

Open milehighhokie opened this issue 9 months ago • 3 comments

Describe the bug

I have seen this a couple of times when switching from Bolt to StackBlitz. I just kind of ignore it and run "npm run dev" and everything seems to then work fine.

❯ npm install && npm run dev

added 293 packages in 6s

68 packages are looking for funding run npm fund for details

[email protected] dev vite

VITE v5.4.15 ready in 10983 ms

➜ Local: http://localhost:5173/ ➜ Network: use --host to expose ➜ press h + enter to show help TypeError: t._onTimeout is not a function at https://vitejsviteohx1kbyc-hgbb.w-credentialless-staticblitz.com/builtins.8cb5228f.js:246:4646

Node.js v18.20.3

Link to the blitz that caused the error

https://stackblitz.com/edit/vitejs-vite-ohx1kbyc?file=README.md

Steps to reproduce

  1. Update project in Bolt
  2. "Open in StackBiltz"
  3. Wait for error to display
  4. Ignore the error message
  5. "npm run dev" and continue testing

Expected behavior

I do not expect to see the error :) It is not hindering my progress, but it is getting annoying to see it all of the time.

Parity with Local

Screenshots

Image

Platform

Browser name  = Chrome
Full version  = 134.0.0.0
Major version = 134
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 68850063,
  "usedJSHeapSize": 66332811,
  "jsHeapSizeLimit": 4294705152
}
Hash = 33edf5bb

Additional context

No response

milehighhokie avatar Apr 01 '25 16:04 milehighhokie

Hey @milehighhokie. Thanks for reaching out! Would it be possible to make the project public so I can take a look myself?

SamVerschueren avatar Apr 02 '25 08:04 SamVerschueren

@SamVerschueren - I flipped it to public for now :)

milehighhokie avatar Apr 03 '25 12:04 milehighhokie

I can't really reproduce this (yet) 🤔 . Thanks for making it public!

SamVerschueren avatar Apr 04 '25 07:04 SamVerschueren