I'm getting the error '/etc/app-types/node/start.sh: line 43: null: command not found', what's up with that?

Node.js projects on Glitch that need a server require a package.json file with a start command in the scripts field to run. So be sure to include the following in package.json (see an example)

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

You can replace server.js with the name of your server start file. Shell scripts also work.

Project Options
Article last updated on