Fly has trouble running npm run build on deploy?

I’m getting this error anytime I attempt to flyctl deploy

Error failed to fetch an image or build from source: error building: executor failed running [/bin/sh -c npm install && npm run build]: exit code: 127

I thought at first it could be because it couldn’t use the images I was referencing in my CSS, but even outright removing any mention of said images, nothing changes and I keep getting the error.

My flytoml:

app = "wyattcraftfitness"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []


  allowed_public_ports = []
  auto_rollback = true

  http_checks = []
  internal_port = 8080
  processes = ["app"]
  protocol = "tcp"
  script_checks = []
    hard_limit = 25
    soft_limit = 20
    type = "connections"

    force_https = true
    handlers = ["http"]
    port = 80

    handlers = ["tls", "http"]
    port = 443

    grace_period = "1s"
    interval = "15s"
    restart_limit = 0
    timeout = "2s"

Error 127 means a command that was run was not found.

That could (perhaps!) mean that “sh” or “npm” or even perhaps some command that the npm task calls could not be found in $PATH

Im not sure what you mean by “images references in my CSS”