sixto
Strapi fails to deploy
#5 [internal] load build context
#5 transferring context: 1.91MB 0.0s done
#5 DONE 0.1s
#6 [stage-0 2/8] WORKDIR /app/
#6 CACHED
#7 [stage-0 3/8] COPY .nixpacks/nixpkgs-293a28df6d7ff3dec1e61e37cc4ee6e6c0fb0847.nix .nixpacks/nixpkgs-293a28df6d7ff3dec1e61e37cc4ee6e6c0fb0847.nix
#7 CACHED
#8 [stage-0 4/8] RUN nix-env -if .nixpacks/nixpkgs-293a28df6d7ff3dec1e61e37cc4ee6e6c0fb0847.nix && nix-collect-garbage -d
#8 CACHED
#9 [stage-0 5/8] COPY . /app/.
#9 DONE 0.3s
#10 [stage-0 6/8] RUN --mount=type=cache,id=s/57fcf0bf-5432-49f0-aaec-332113155bb8-/root/npm,target=/root/.npm npm ci
#10 0.967 npm ERR! Cannot read property '@google-cloud/storage' of undefined
#10 0.975
#10 0.975 npm ERR! A complete log of this run can be found in:
#10 0.975 npm ERR! /root/.npm/_logs/2023-08-01T13_38_16_471Z-debug.log
#10 ERROR: process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 1
-----
[stage-0 6/8] RUN --mount=type=cache,id=s/57fcf0bf-5432-49f0-aaec-332113155bb8-/root/npm,target=/root/.npm npm ci:#10 0.967 npm ERR! Cannot read property '@google-cloud/storage' of undefined #10 0.975 #10 0.975 npm ERR! A complete log of this run can be found in: #10 0.975 npm ERR! /root/.npm/_logs/2023-08-01T13_38_16_471Z-debug.log ----- Dockerfile:20 ------------------- 18 | ENV NIXPACKS_PATH /app/node_modules/.bin:$NIXPACKS_PATH 19 | COPY . /app/. 20 | >>> RUN --mount=type=cache,id=s/57fcf0bf-5432-49f0-aaec-332113155bb8-/root/npm,target=/root/.npm npm ci 21 | 22 | # build phase ------------------- ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 1 Error: Docker build failed
40 replies
Strapi fails to deploy
==============
Using Nixpacks
==============
context: 04be27bdfb0ba154e8d71b8dc377adde
╔═════════ Nixpacks v1.12.0 ════════╗
║ setup │ nodejs-14_x, npm-9_x ║
║───────────────────────────────────║
║ install │ npm ci ║
║───────────────────────────────────║
║ start │ npm run start ║
╚═══════════════════════════════════╝
#1 [internal] load .dockerignore
#1 transferring context: 2B done
#1 DONE 0.1s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 1.89kB done
#2 DONE 0.1s
#3 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1690243402
#3 DONE 0.1s
#4 [stage-0 1/8] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1690243402@sha256:1a7dc562bf1f13299c20e55f8a72a287cb16dfea072fe4d20d084cfe23494afd
#4 DONE 0.0s
40 replies