How can i solve this "Error: Cannot find module '/opt/render/project/src/run'"

it is showing this error
Error: Cannot find module ‘/opt/render/project/src/run’

here is my repo link , please help me with this
repo -GitHub - Rajesh3923/Mern-Chat-Apk

Hi there,

Your start command needs to be npm run start (or just npm start), not node run start. Note you will also want to change this line in your server.js:

const PORT = process.env.PORT || isn’t a port, it’s an IP address that signifies all network interfaces. Express uses this by default, but it would be used as the host. Change to something like 5000 for the default port for your service.


Render Support, UTC+10 :australia:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.