My project remains dormant

Hello, I have a problem with Glitch. I use uptime robot to keep my project awake, but since yesterday. It’s not working anymore. The project falls asleep after some time

Hey @yollos8 welcome to the Glitch forum!

Can you provide your project name and a screenshot of your UptimeRobot config for us?

Hello Thank you, the name of my project is: nokisbotchrome

You aren’t serving anything for the HTTP request.
So, your project will not respond anything to UptimeRobot’s request and then not showing a 200 OK status.

And what do I have to do to keep my project online?

Hey @yollos8, welcome to the Glitch forum!

This sample express config is a pretty straightforward way to provide an endpoint that UptimeRobot can ping.

Thx. But…

LOADING LIBRARIES…
Internal/modules/cjs/loader.js :584
Throw err ;
^
Error : Cannot find module ‘express’
At Function.Module._resolveFilename (internal/modules/cjs/loader.js :582 :15)
At Function.Module._load (internal/modules/cjs/loader.js :508 :25)
At Module.require (internal/modules/cjs/loader.js :637 :17)
At require (internal/modules/cjs/helpers.js :22 :18)
Jum to At Object. (/app/server.js :1 :79)
At Module._compile (internal/modules/cjs/loader.js :701 :30)
At Object.Module._extensions…js (internal/modules/cjs/loader.js :712 :10)
At Module.load (internal/modules/cjs/loader.js :600 :32)
At tryModuleLoad (internal/modules/cjs/loader.js :539 :12)
At Function.Module._load (internal/modules/cjs/loader.js :531 :3)

You must install the express package first

1 Like

Thank you for your help👍