Stuck on building application

Hello everyone,
I have a problem with web page deployment. I think that everything is actually fine with my code, but the thing is that on the building application stage I’m stuck. This stage is infinite until time limit exceeds. Everything should work fine, my node.js server launches and then nothing happens. So I’m stuck on this stage, could you please help me.
Thank you in advance!

When you say launches, do you mean like it opens a port you connect to? If so, then that won’t work on pages, as it is mainly for static assets.

Thank you for reply @Cyb3r-Jak3. Yeah, it opens a port. I’m so sorry I’m new to Cloudflare and all that stuff, didn’t get what you meant by saying static assets. Let me show you my logs:
`

2023-09-29T10:57:35.141471167Z Cloning repository…
2023-09-29T10:57:36.320122455Z From ‘github repository’
2023-09-29T10:57:36.32063714Z * branch ded4882498dd0f1fd03921d51404e9be78d0825e → FETCH_HEAD
2023-09-29T10:57:36.320757726Z
2023-09-29T10:57:36.683046124Z HEAD is now at ded4882 finaltesting
2023-09-29T10:57:36.683651328Z
2023-09-29T10:57:36.803746874Z
2023-09-29T10:57:36.835808598Z Success: Finished cloning repository files
2023-09-29T10:57:37.64493783Z Detected the following tools from environment: [email protected], [email protected]
2023-09-29T10:57:37.656814584Z Installing project dependencies: npm clean-install --progress=false
2023-09-29T10:57:40.318899455Z
2023-09-29T10:57:40.319361395Z added 119 packages, and audited 120 packages in 2s
2023-09-29T10:57:40.319555805Z
2023-09-29T10:57:40.319712847Z 13 packages are looking for funding
2023-09-29T10:57:40.319878836Z run npm fund for details
2023-09-29T10:57:40.320065138Z
2023-09-29T10:57:40.320212997Z found 0 vulnerabilities
2023-09-29T10:57:40.610705138Z Executing user command: npm start
2023-09-29T10:57:41.426835298Z
2023-09-29T10:57:41.426959825Z > [email protected] start
2023-09-29T10:57:41.427239128Z > nodemon server.js
2023-09-29T10:57:41.427452357Z
2023-09-29T10:57:41.625351661Z e[33m[nodemon] 3.0.1e[39m
2023-09-29T10:57:41.625901192Z e[33m[nodemon] to restart at any time, enter rse[39m
2023-09-29T10:57:41.626126637Z e[33m[nodemon] watching path(s): *.*e[39m
2023-09-29T10:57:41.626409062Z e[33m[nodemon] watching extensions: js,mjs,cjs,jsone[39m
2023-09-29T10:57:41.62688938Z e[32m[nodemon] starting node server.jse[39m
2023-09-29T10:57:41.823507758Z Server is listening on port 3000
`

You start a node process to listen, which doesn’t work on pages. You need to build your site to HTML/CSS/JS which Pages will handle. It doesn’t handle stuff like opening ports for sites.

2 Likes

Oh, damn thank you very much man! Appreciate it

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