Deplot stuck on building

I am trying to publish my game, and i run it using npm run start. It said server started, but the link doesnt work and it still says building. this is the build log:

9:10:13 PM: build-image version: f0de447600c93198b2eef6ed4ec8e338d9c0582c (focal)
9:10:13 PM: buildbot version: f0de447600c93198b2eef6ed4ec8e338d9c0582c
9:10:13 PM: Building without cache
9:10:13 PM: Starting to prepare the repo for build
9:10:14 PM: No cached dependencies found. Cloning fresh repo
9:10:14 PM: git clone --filter=blob:none git@bitbucket.org:noodlesnomm/spicywars
9:10:15 PM: Preparing Git Reference refs/heads/master
9:10:15 PM: Parsing package.json dependencies
9:10:17 PM: Starting to install dependencies
9:10:17 PM: v16.20.0 is already installed.
9:10:18 PM: Now using node v16.20.0 (npm v8.19.4)
9:10:18 PM: Enabling Node.js Corepack
9:10:18 PM: Started restoring cached build plugins
9:10:18 PM: Finished restoring cached build plugins
9:10:18 PM: Started restoring cached corepack dependencies
9:10:18 PM: Finished restoring cached corepack dependencies
9:10:18 PM: No npm workspaces detected
9:10:18 PM: Started restoring cached node modules
9:10:18 PM: Finished restoring cached node modules
9:10:18 PM: Installing npm packages using npm version 8.19.4
9:10:30 PM: added 330 packages, and audited 331 packages in 12s
9:10:30 PM: 52 packages are looking for funding
9:10:30 PM: run npm fund for details
9:10:30 PM: found 0 vulnerabilities
9:10:30 PM: npm packages installed
9:10:30 PM: Attempting Ruby version 2.7.2, read from environment
9:10:31 PM: Using Ruby version 2.7.2
9:10:32 PM: Started restoring cached go cache
9:10:32 PM: Finished restoring cached go cache
9:10:32 PM: Installing Go version 1.19.5 (requested 1.19.5)
9:10:38 PM: go version go1.19.5 linux/amd64
9:10:38 PM: Using PHP version 8.0
9:10:39 PM: Python version set to 3.8
9:10:40 PM: Install dependencies script success
9:10:40 PM: Starting build script
9:10:40 PM: Using stage install dependencies
9:10:41 PM: Detected 0 framework(s)
9:10:41 PM: Section completed: initializing
9:10:42 PM: ​
9:10:42 PM: Netlify Build
9:10:42 PM: ────────────────────────────────────────────────────────────────
9:10:42 PM: ​
9:10:42 PM: ❯ Version
9:10:42 PM: @netlify/build 29.9.0
9:10:42 PM: ​
9:10:42 PM: ❯ Flags
9:10:42 PM: baseRelDir: true
9:10:42 PM: buildId: 642cd881b993e42e50da3b1f
9:10:42 PM: deployId: 642cd881b993e42e50da3b21
9:10:42 PM: ​
9:10:42 PM: ❯ Current directory
9:10:42 PM: /opt/build/repo
9:10:42 PM: ​
9:10:42 PM: ❯ Config file
9:10:42 PM: No config file was defined: using default values.
9:10:42 PM: ​
9:10:42 PM: ❯ Context
9:10:42 PM: production
9:10:42 PM: ​
9:10:42 PM: 1. Build command from Netlify app
9:10:42 PM: ────────────────────────────────────────────────────────────────
9:10:42 PM: ​
9:10:42 PM: $ npm install --include=dev && npm run start && npm run prod
9:10:43 PM: up to date, audited 331 packages in 520ms
9:10:43 PM: 52 packages are looking for funding
9:10:43 PM: run npm fund for details
9:10:43 PM: found 0 vulnerabilities
9:10:43 PM: > waterwar.io@1.0.0 start
9:10:43 PM: > node index.js --unhandled-rejections=strict
9:10:43 PM: server started

The deploy is “stuck” because the build command

has in fact started a node script

Netlify is intended for building and deploying static sites as per

is there an alternative website i can use to run it, and that is still free

or a way to get it to work on netlify

I suggest you try searching for “free node hosting” in your preferred search engine.

Without seeing the project code it is not possible to offer any guidance on this.

if i send my code could you help me?

If you share the repository I am happy to have a look and give you some feedback.

can you see this? or is it private

https://bitbucket.org/noodlesnomm/spicywars/src/master/

it is a multiplayer game, so take that into account first. if there is nothing that can be done to run on this website can u give me some alternatives? thank you

Have a read through this article which gives a basic overview of running Express with Netlify functions

I’ve already answered this:

im not sure which ones are good and how to use them, im really extremley unexperienced

I don’t know either as I don’t use services to host node apps.

Hi, this is a known bug we are working to fix. When you hit cancel in the UI what happens? If it still is stuck in building can you please share the site effected and perhaps a screenshot of what you see?

@SamO If you check the code that @Demian_Medve supplied you will see that @jasiqli is correct.

The build isn’t “stuck” due to a bug, it’s creating an express server…

image

image