Unable to run server.js after project is deployed to Glitch from Github

Hi Gurus,

I’m new to Glitch to run as my project’s backend.
I created a new project using the ‘Import from Github’ feature.
But I’m unable to get the server.js running.
Please help as the code is working on my local.

This is my project at Github:

Hi there - if you update server.js to have the Node version set to 16.x, it should run for you (I got it working in my own import of that repo here on line 31). You’ll want to add:

"engines": {
  "node": "16.x"
1 Like

I got this working by making the server.js to be standalone and using the glitch-hello-node for new project.