Glitch app not starting

Hi!

My app at https://glitch.com/edit/#!/get-url-meta gets stuck on “Starting…”. Could someone please help me out?

it appears to be working for me!

have you tried refreshing?

Yup. I tried refreshing a couple of times. https://get-url-meta.glitch.me/ <— See here

if it is a node app, make sure you have a start command set:

scripts: {
  "start": "node app.js"
}

or plain html, make sure you have an index.html file present

I have this in my scripts:
"start": "npm i && node meta.js"

1 Like

Try removing the npm i and try again.

Okay. It was fixed after I changed:

app.listen((port, hostname) => {
      console.log("Running");
    });

to:

app.listen(port, () => {
   console.log("Running on", port);
 });```
2 Likes

This fixed it for me, I was getting the following error:

/opt/watcher/app-types/node/start.sh: line 51: vite: command not found
1 Like

please don’t respond to 2-year-old posts. his problem was solved, and most likely wouldn’t need an answer now anyways.