I already have one app with a postgres db running on fly. I’m trying to deploy another node app but I think the builder is taking up my last available machine. When I try to deploy it, I just get an error that it can’t cd into the client directory, but I think this is because it just doesn’t have a machine. I can’t scale more machines for this app because there’s no initial machine to clone. What am I missing?
==> Verifying app config
Validating /home/me/myapp_v2/myapp/fly.toml
Platform: machines
✓ Configuration is valid
--> Verified app config
==> Building image
Remote builder fly-builder-old-thunder-773 ready
==> Building image with Docker
--> docker host: 20.10.12 linux x86_64
[+] Building 9.9s (13/17)
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 957B 0.1s
=> [internal] load .dockerignore 0.1s
=> => transferring context: 34B 0.1s
=> resolve image config for docker.io/docker/dockerfile:1 0.2s
=> CACHED docker-image://docker.io/docker/dockerfile:1@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> [internal] load metadata for docker.io/library/node:20.6.1-slim 0.1s
=> [internal] load .dockerignore 0.0s
=> [base 1/2] FROM docker.io/library/node:20.6.1-slim@sha256:2dab2d0e8813ee1601f8d25a8e4aa5530ffc4d0cc16600ec4 0.0s
=> CACHED [base 2/2] WORKDIR /app 0.0s
=> [internal] load build context 1.3s
=> => transferring context: 817.13kB 1.2s
=> CACHED [build 1/6] RUN apt-get update -qq && apt-get install -y build-essential pkg-config python-is-py 0.0s
=> CACHED [build 2/6] COPY --link package-lock.json package.json ./ 0.0s
=> ERROR [build 3/6] RUN npm ci --include=dev 8.0s
------
> [build 3/6] RUN npm ci --include=dev:
#0 7.617
#0 7.617 > myapp@1.0.0 postinstall
#0 7.617 > cd client && npm install
#0 7.617
#0 7.622 sh: 1: cd: can't cd to client
#0 7.624 npm notice
#0 7.624 npm notice New major version of npm available! 9.8.1 -> 10.1.0
#0 7.624 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.1.0>
#0 7.624 npm notice Run `npm install -g npm@10.1.0` to update!
#0 7.625 npm notice
#0 7.626 npm ERR! code 2
#0 7.626 npm ERR! path /app
#0 7.628 npm ERR! command failed
#0 7.628 npm ERR! command sh -c cd client && npm install
#0 7.630
#0 7.630 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-09-15T22_19_14_598Z-debug-0.log
------
Error: failed to fetch an image or build from source: error building: failed to solve: executor failed running [/bin/sh -c npm ci --include=dev]: exit code: 2