warlordsnet / zia-api

Other
5 stars 54 forks source link

Deployment failed at vercel and netlify #4

Open skgupta507 opened 5 months ago

skgupta507 commented 5 months ago

hello @warlordsnet @animemandir the site deployment failed when the start command was added it stuck at the listening to port 3000 how to fix this. pks help with this issue Express server listening on port 3000 in development mode Execution timed out after 17m58.140550957s Failing build: Failed to build site Finished processing build request in 18m22.171s Failed during stage 'building site': Command did not finish within the time limit

RISHAB-CREATOR commented 2 months ago

just change the port number that is hardcoded in the code ez directory : zia-api/lib/api.js line number : 40

const port = process.env.PORT || 3000;

change the port number