Ask coding questions

← Back to all posts
Why is an HTML repl failing?
9pfs

I can't figure out why this won't work, please help. It says that it's not running a server, but it shouldn't be trying to connect to an HTTP server. What should I do?

Voters
9pfs
Comments
hotnewtop
MrVoo

Try removing the .replit file

9pfs

@MrVoo I just added it trying to fix it.

9pfs

@MrVoo I figured it out!

9pfs

Found a fix. Just open the shell and type pkill a*. Then, force reload the repl. If that doesn't work, keep going from A to Z (and, if necessary, do numbers and symbols). That will terminate all processes beginning with the character given, and, as Replit is designed not to have server-side crashes, likely resets something and fixes the bug. Now, I need to know: How do you make a website a PWA?

9pfs

Figured out what happened. When you open Firefox from the CLI (firefox), it no longer works. Guess I have to download and re-upload everything, unless an admin could help.