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

Live preview not working

Open llliagiba opened this issue 11 months ago • 0 comments

Describe the bug

The live preview section simply lists directory names. When I click on the file names, it takes me to a blank page that says "404". This is true for all files in my Projects folder. I'm working with HTML/CSS/JavaScript. How do I fix it?

Link to the blitz that caused the error

https://stackblitz.com/edit/stackblitz-starters-hccj3lak?file=Sophia%20Practice%2Fstyles.css

Steps to reproduce

  1. Open document
  2. Refresh page
  • live preview doesn't show

Expected behavior

Live preview to show properly.

Parity with Local

Screenshots

Image

Platform

Browser name  = Chrome
Full version  = 132.0.0.0
Major version = 132
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 170972383,
  "usedJSHeapSize": 132368083,
  "jsHeapSizeLimit": 2197815296
}
Hash = 1b4252dd

Additional context

It used to work properly. And then it stopped.

llliagiba avatar Jan 28 '25 15:01 llliagiba