I just created a new base node.js and removed all the files it contained except package.json. From package.json I removed the start and the original packages like Express.
Thanks! Yeah that was the default code, I removed main and start entirely. And that’s when it happened. Guess it is just expecting there to be a server aspect to the app? I also tried removing the code from the start file entirely and still got the error.
The app is just meant to be used in the console, was just playing around with the idea and seeing if it could work on Glitch.
Yeah, there is a project console available under advanced options from the top-left project info menu if you just want to run commands. But depending on your use-case, you might find this project useful for running console apps in the browser: https://glitch.com/~node-console