-
Notifications
You must be signed in to change notification settings - Fork 491
Closed
Labels
BugSomething isn't workingSomething isn't working
Description
Running docker compose build in a checked out automaker dir results in the following error (happens in latest main as of now and in 0.6 release):
/home/dev/automaker_setup/automaker# docker compose build --no-cache
[+] Building 15.4s (23/33)
=> [internal] load local bake definitions 0.0s
=> => reading from stdin 1.02kB 0.0s
=> [server internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.82kB 0.0s
=> [ui internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.16kB 0.0s
=> [ui internal] load metadata for docker.io/library/nginx:alpine 0.0s
=> [server internal] load metadata for docker.io/library/node:20-alpine 0.6s
=> [server internal] load .dockerignore 0.0s
=> => transferring context: 152B 0.0s
=> CACHED [ui builder 1/9] FROM docker.io/library/node:20-alpine@sha256:658d0f63e501824d6c23e06d4bb95c71e7d704537c9d9272f488ac03a370d448 0.0s
=> => resolve docker.io/library/node:20-alpine@sha256:658d0f63e501824d6c23e06d4bb95c71e7d704537c9d9272f488ac03a370d448 0.0s
=> [ui internal] load build context 0.1s
=> => transferring context: 1.41MB 0.1s
=> [server internal] load build context 0.1s
=> => transferring context: 874.91kB 0.0s
=> CACHED [ui stage-1 1/3] FROM docker.io/library/nginx:alpine@sha256:b3c656d55d7ad751196f21b7fd2e8d4da9cb430e32f646adcf92441b72f82b14 0.0s
=> => resolve docker.io/library/nginx:alpine@sha256:b3c656d55d7ad751196f21b7fd2e8d4da9cb430e32f646adcf92441b72f82b14 0.0s
=> [server builder 2/9] RUN apk add --no-cache python3 make g++ 3.5s
=> [server stage-1 2/8] RUN apk add --no-cache git curl && GH_VERSION="2.63.2" && curl -L "https://github.com/cli/cli/releases/download/v${GH_VERSION}/gh_${GH_VERSION}_linux_amd64.tar.gz" -o gh.tar.gz && tar -xzf gh.tar.gz && mv "gh_${GH_VERSION}_linux_amd64/bin/gh" /usr/local/bin/gh && r 2.1s
=> [server stage-1 3/8] WORKDIR /app 0.0s
=> [server stage-1 4/8] RUN addgroup -g 1001 -S automaker && adduser -S automaker -u 1001 0.3s
=> [server builder 3/9] WORKDIR /app 0.1s
=> [ui builder 4/9] COPY package*.json ./ 0.0s
=> CACHED [ui builder 4/9] COPY package*.json ./ 0.0s
=> [ui builder 5/9] COPY apps/ui/package*.json ./apps/ui/ 0.0s
=> [server builder 5/9] COPY apps/server/package*.json ./apps/server/ 0.0s
=> [ui builder 6/9] COPY scripts ./scripts 0.0s
=> [server builder 6/9] COPY scripts ./scripts 0.0s
=> CANCELED [ui builder 7/9] RUN npm ci --workspace=apps/ui --ignore-scripts 10.9s
=> ERROR [server builder 7/9] RUN npm ci --workspace=apps/server 10.4s
------
> [server builder 7/9] RUN npm ci --workspace=apps/server:
8.880
8.880 > automaker@1.0.0 postinstall
8.880 > node -e "const fs=require('fs');if(process.platform==='darwin'){['darwin-arm64','darwin-x64'].forEach(a=>{const p='node_modules/node-pty/prebuilds/'+a+'/spawn-helper';if(fs.existsSync(p))fs.chmodSync(p,0o755)})}" && node scripts/fix-lockfile-urls.mjs
8.880
8.985 ✓ No git+ssh:// URLs found in package-lock.json
8.995
8.995 > automaker@1.0.0 prepare
8.995 > husky && npm run build:packages
8.995
9.004 sh: husky: not found
9.008 npm error code 127
9.008 npm error path /app
9.008 npm error command failed
9.008 npm error command sh -c husky && npm run build:packages
9.009 npm notice
9.009 npm notice New major version of npm available! 10.8.2 -> 11.7.0
9.009 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.7.0
9.009 npm notice To update run: npm install -g npm@11.7.0
9.009 npm notice
9.010 npm error A complete log of this run can be found in: /root/.npm/_logs/2025-12-28T16_59_27_485Z-debug-0.log
------
Dockerfile:18
--------------------
16 |
17 | # Install dependencies
18 | >>> RUN npm ci --workspace=apps/server
19 |
20 | # Copy source
--------------------
target server: failed to solve: process "/bin/sh -c npm ci --workspace=apps/server" did not complete successfully: exit code: 127
coderabbitai
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working