Live preview of html not working (404)



I’m trying to debug my student’s workspace:

When trying to preview test.html (or any html file, such as /basics/html-basics/index.html), the preview does not work: “Page Not Found 404 - preview File ‘/test.html’ could not be found! We’re sorry, the page you are looking for could not be found.”

The preview is working just fine for the exact same code in a different workspace (or when pushed to github, but I can’t figure out what is wrong with his workspace.

Any ideas? Thanks!


I may be experiencing a similar issue with 404 though it says that our css file could not be found:
404 - preview File ‘/html/css/styles.css’ could not be found! – however, I am able to access it.

In trying to look deeper into this, I came across this error message but I am not sure how to resolve this:
bash: line 1: html/css/styles.css: No such file or directory
Process exited with code: 127

Looking forward to any insight. Thanks!


I and many of my students are seeing the same thing when they try to preview files.

We can open and edit the files, but previewing yields the 404/not found message.