Log icon perpetual motion


I am running into a problem, It’s been like one hour I try to figure out what’s wrong but I don’t know so I am seeking help here.

the log icon is keeping moving as if there were an error somewhere but when I open the log panel nothing mentions an error. Also because “something” seems to be wrong the app page won’t load and keep saying “Starting…”.

Here’s the URL of the project : https://glitch.com/edit/#!/empty-yak

I really hope to get some help from you guys.

Hi @vdegenne! Welcome to the Glitch forum! These two errors (the log icon perpetually moving, and the app page not loading) are probably coming from the same issue – the page is looking for a start script in your package.json but they’re only finding a build script, so the project is perpetually loading. You’ll want to add the start script next to your build script like this:

  "scripts": {
    "build": "rollup -c"
    "start": "your command here"

(Usually for me at least, there’s a server at start like this: "start": "node server.js". You can make a simple server.js file based on a tutorial like this one: https://glitch.com/~hello-express. Even if it just serves up a landing page for the site, it should resolve your issue.)

Glitch projects attempt to run a start script in your package.json. If you’re like me and wish to fiddle around with things without having Glitch continuously attempt to start my application, maybe you should adopt a simple command for your start script—something you’re sure works and is trivial for the server to process (e.g., while true; do sleep 1; done).