Skip to content

Update npm build command for production configuration #2066

Update npm build command for production configuration

Update npm build command for production configuration #2066

Triggered via push September 8, 2025 17:58
Status Failure
Total duration 2m 1s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
heroku
Error: Command failed: heroku container:push web --app dsomm #0 building with "default" instance using docker driver #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 553B done #1 DONE 0.0s #2 [internal] load metadata for docker.io/library/caddy:2.10.2 #2 DONE 0.1s #3 [internal] load metadata for docker.io/library/node:24.7.0-alpine3.22 #3 DONE 0.1s #4 [internal] load metadata for docker.io/wurstbrot/dsomm-yaml-generation:1.16.0 #4 DONE 0.1s #5 [internal] load .dockerignore #5 transferring context: #5 transferring context: 2B done #5 DONE 0.0s #6 [build 1/6] FROM docker.io/library/node:24.7.0-alpine3.22@sha256:be4d5e92ac68483ec71440bf5934865b4b7fcb93588f17a24d411d15f0204e4f #6 DONE 0.0s #7 [stage-2 1/4] FROM docker.io/library/caddy:2.10.2@sha256:4163a5c7b7631707956db4057720ec75de429992d5e3aa518d54872c01644dbe #7 DONE 0.0s #8 [yaml 1/1] FROM docker.io/wurstbrot/dsomm-yaml-generation:1.16.0@sha256:d3648a6328c3cee4d5f88e0d7430484904395a7d555139a269b766194e93f010 #8 CACHED #9 [internal] load build context #9 transferring context: 11.42kB 0.0s done #9 DONE 0.0s #10 [build 3/6] COPY package.json package-lock.json ./ #10 CACHED #11 [build 4/6] RUN apk add --upgrade python3 build-base && npm install #11 CACHED #12 [build 2/6] WORKDIR /usr/src/app #12 CACHED #13 [build 5/6] COPY . . #13 CACHED #14 [stage-2 2/4] COPY Caddyfile /etc/caddy/Caddyfile #14 CACHED #15 [build 6/6] RUN npm run build --configuration production #15 0.221 npm warn "production" is being parsed as a normal command line argument. #15 0.221 npm warn Unknown cli config "--configuration". This will stop working in the next major version of npm. #15 0.254 #15 0.254 > dsomm@0.0.0 build #15 0.254 > ng build --configuration=production production #15 0.254 #15 0.948 Project 'production' does not exist. #15 ERROR: process "/bin/sh -c npm run build --configuration production" did not complete successfully: exit code: 1 ------ > [build 6/6] RUN npm run build --configuration production: 0.221 npm warn "production" is being parsed as a normal command line argument. 0.221 npm warn Unknown cli config "--configuration". This will stop working in the next major version of npm. 0.254 0.254 > dsomm@0.0.0 build 0.254 > ng build --configuration=production production 0.254 ------ Dockerfile:9 -------------------- 7 | && npm install 8 | COPY . . 9 | >>> RUN npm run build --configuration production 10 | 11 | FROM wurstbrot/dsomm-yaml-generation:1.16.0 AS yaml -------------------- ERROR: failed to build: failed to solve: process "/bin/sh -c npm run build --configuration production" did not complete successfully: exit code: 1 › Error: docker build exited with Error: 1
build
buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c npm run build --configuration production" did not complete successfully: exit code: 1
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/