Unable to access project due to problematic package.json

“yes” is supposed to run without end, lol!

How to kill a runaway process.

Assuming logged into Glitch, open a browser tab to this url, putting in your project name at the end …

https://glitch.com/edit/console.html?myproject

This opens a console, do the following

$ ps -aux

Should show something like this, with lots more rows …

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
app        204  0.0  0.0  19956  3732 pts/2    S    08:50   0:00 -su
app        217  0.0  0.0   6008   652 pts/1    R+   08:51   0:01 yes
app        218  0.0  0.0  36084  3192 pts/2    R+   08:51   0:00 ps -aux

Find the offending process, read its process id (PID) from the second column, then tell it to be killed …

$ kill -9 217

If there is no error message, just another prompt, then it worked.

That’s it, the editor will hopefully recover. You can check its status from Tools > Container Status.

Warning like most linux commands, kill can mess up your server if you use it incorrectly, and can damage your hearing if you put it in your ear.