From 187bfaf24c3b5fab80c5d3f089cfa193eba87df0 Mon Sep 17 00:00:00 2001 From: Johannes Millan Date: Sat, 10 Jan 2026 19:08:38 +0100 Subject: [PATCH] fix(docker): upgrade npm to v11 to match lockfile version npm 10.9.4 bundled with node:22-alpine handles optional peer dependencies differently than npm 11, causing build failures when resolving vitest peer dep from @angular-devkit/build-angular. --- packages/super-sync-server/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/super-sync-server/Dockerfile b/packages/super-sync-server/Dockerfile index 62ce32f3c..25c2a3ff2 100644 --- a/packages/super-sync-server/Dockerfile +++ b/packages/super-sync-server/Dockerfile @@ -5,6 +5,9 @@ WORKDIR /repo RUN apk add --no-cache openssl libc6-compat +# Upgrade npm to match lockfile version (npm 11) +RUN npm install -g npm@11 + # Root package + lock (for workspace install) COPY package.json package-lock.json ./ COPY packages/shared-schema/package.json ./packages/shared-schema/