Deploying stopped working suddenly - stuck on "npm run build"

Hey community!

I’m looking for suggestions on how to debug or fix my issue.

Situation:

  • I’m trying to deploy a node app with the command: flyctl deploy --config fly.testt.toml (the double-t is not a typo)
  • This worked fine a week or two back, and I haven’t changed anything in the code/config
  • Now it gets stuck somewhere on the npm run build step in the Dockerfile

The last lines in the log are:

The deployment just hangs there, without failing (I tried for 50 minutes before cancelling)

If I run npm run build locally (not through flyctl deploy), it succeeds:

My config file looks like this:

My Dockerfile looks like this:

I’ve tried a lot of the common tricks suggested on this forum, like resetting wireguard, logging out and in again, etc.

Hoping someone can point me in the right direction!

Best regards.

Try restarting your builder in your app dashboard

That doesn’t work. But I don’t think it’s a fly.io problem anymore.

The same problem persists if I run “docker build .” … so I’m very clueless.

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