Packages.json Without a server?


#1

Is it possible to use the packages.json in such a way that it is a nice dependency manager but without a server? It requires me to have a “start” script, which must be a server. Any ideas?


Glitch goes into boot loop if it doesn't find a server
#2

The start script doesn’t need to be a server.js file, it can be a bash command or something else. However, without a server listening on a port, you will always see the ‘loading’ animation in the editor.

If you let us know what it is you’re trying to do, then we might have suggestions of how you can do it or alternatives. Thanks.


#3

My goal is to get a website going up replacing JavaScript for the kotlin JS lib. There’s a kotlin compiler in non, but not entirely sure how this works because I can’t think of anything that “starts” in this context