stackblitz / webcontainer-core

Dev environments. In your web app.
https://webcontainers.io
MIT License
3.78k stars 144 forks source link

Vite Won't Start #694

Open tobychidi-zz opened 2 years ago

tobychidi-zz commented 2 years ago

Describe the bug

Vite, Vue 3 project won't start on refresh. Stuck at Running start command

Link to the blitz that caused the error

https://stackblitz.com/edit/test-vue3-vite

Steps to reproduce

  1. Setup New Project from Vite-Vue-ts
  2. Added naive-ui dep
  3. Modify App.vue and remove hello world.vue
  4. Save, everything looks good
  5. refresh
  6. vite dev server won't start

Expected behavior

Like in Firefox. Server restarts and previews my app on refresh

Parity with Local

Screenshots

image

image

Platform

Browser name  = Chrome
Full version  = 101.0.4951.41
Major version = 101
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Safari/537.36 Edg/101.0.1210.32
performance.memory = {
  "totalJSHeapSize": 89020379,
  "usedJSHeapSize": 72217507,
  "jsHeapSizeLimit": 2172649472
}
Hash = 1becece65fb9e6d89d27bbe87eedd4d64b37a3a4

Additional context

No response

tony19 commented 2 years ago

The blitz link is broken. And so is the screenshot.

tobychidi-zz commented 2 years ago

@tony19 Let me fix that

tobychidi-zz commented 2 years ago

@tony19 Currently depencies won't install and now does not work in firefox. Before It worked in firefox but vite would not start, blocking me from closing the terminal and restarting.

d3lm commented 2 years ago

Hey there 👋 Your project works fine in both Chrome and Firefox on my end. Do you see any errors in the DevTools?

tobychidi-zz commented 2 years ago

@d3lm did you try Edge? Still doesn't run on my end

d3lm commented 2 years ago

Hm yea, I just tried Edge and it does indeed not run, but I am also not getting any errors. That's very strange. We'll investigate.

tobychidi-zz commented 2 years ago

@d3lm Thank you

Nemikolh commented 1 year ago

Hi @tobychidi-zz ! Is this still broken in Edge for you?