cassepipe
First deploy ever: What's wrong ?
Hi this is my first web app and my first deploy ever.
I have this project that a is a fullstack monorepo using pnpm workspace : https://github.com/cassepipe/transcendence/tree/master
And when I try to deploy it, I get this build error :
#6 [stage-0 2/10] WORKDIR /app/
#6 CACHED
#7 [stage-0 3/10] COPY .nixpacks/nixpkgs-293a28df6d7ff3dec1e61e37cc4ee6e6c0fb0847.nix .nixpacks/nixpkgs-293a28df6d7ff3dec1e61e37cc4ee6e6c0fb0847.nix
#7 CACHED
#8 [stage-0 4/10] RUN nix-env -if .nixpacks/nixpkgs-293a28df6d7ff3dec1e61e37cc4ee6e6c0fb0847.nix && nix-collect-garbage -d
#8 CACHED
#9 [stage-0 5/10] COPY . /app/.
#9 DONE 0.1s
#10 [stage-0 6/10] RUN --mount=type=cache,id=s/29ed9c52-7fd2-4c58-ac78-f4fb064e30f7-/root/npm,target=/root/.npm npm i
#10 1.110 npm WARN config production Use `--omit=dev` instead.
#10 2.674
#10 2.674 > [email protected] preinstall
#10 2.674 > npx only-allow pnpm && cp -n .env.example .env
#10 2.674
#10 3.077 npm
WARN config production Use `--omit=dev` instead.
#10 3.657 npm
WARN exec The following package was not found and will be installed: [email protected]
#10 4.527 ╔═════════════════════════════════════════════════════════════╗
#10 4.527 ║ ║
#10 4.527 ║ Use "pnpm install" for installation in this project. ║
#10 4.527 ║ ║
#10 4.527 ║ If you don't have pnpm, install it via "npm i -g pnpm". ║
#10 4.527 ║ For more details, go to https://pnpm.js.org/ ║
#10 4.552 npm ERR! code 1
#10 4.552 npm ERR! path /app
#10 4.554 npm ERR! command failed
#10 4.554 npm ERR! command sh -c -- npx only-allow pnpm && cp -n .env.example .env
#10 4.555
#10 4.556 npm ERR! A complete log of this run can be found in:
#10 4.556 npm ERR! /root/.npm/_logs/2023-07-15T12_09_02_508Z-debug-0.log
#10 ERROR: process "/bin/bash -ol pipefail -c npm i" did not complete successfully: exit code: 1
#6 [stage-0 2/10] WORKDIR /app/
#6 CACHED
#7 [stage-0 3/10] COPY .nixpacks/nixpkgs-293a28df6d7ff3dec1e61e37cc4ee6e6c0fb0847.nix .nixpacks/nixpkgs-293a28df6d7ff3dec1e61e37cc4ee6e6c0fb0847.nix
#7 CACHED
#8 [stage-0 4/10] RUN nix-env -if .nixpacks/nixpkgs-293a28df6d7ff3dec1e61e37cc4ee6e6c0fb0847.nix && nix-collect-garbage -d
#8 CACHED
#9 [stage-0 5/10] COPY . /app/.
#9 DONE 0.1s
#10 [stage-0 6/10] RUN --mount=type=cache,id=s/29ed9c52-7fd2-4c58-ac78-f4fb064e30f7-/root/npm,target=/root/.npm npm i
#10 1.110 npm WARN config production Use `--omit=dev` instead.
#10 2.674
#10 2.674 > [email protected] preinstall
#10 2.674 > npx only-allow pnpm && cp -n .env.example .env
#10 2.674
#10 3.077 npm
WARN config production Use `--omit=dev` instead.
#10 3.657 npm
WARN exec The following package was not found and will be installed: [email protected]
#10 4.527 ╔═════════════════════════════════════════════════════════════╗
#10 4.527 ║ ║
#10 4.527 ║ Use "pnpm install" for installation in this project. ║
#10 4.527 ║ ║
#10 4.527 ║ If you don't have pnpm, install it via "npm i -g pnpm". ║
#10 4.527 ║ For more details, go to https://pnpm.js.org/ ║
#10 4.552 npm ERR! code 1
#10 4.552 npm ERR! path /app
#10 4.554 npm ERR! command failed
#10 4.554 npm ERR! command sh -c -- npx only-allow pnpm && cp -n .env.example .env
#10 4.555
#10 4.556 npm ERR! A complete log of this run can be found in:
#10 4.556 npm ERR! /root/.npm/_logs/2023-07-15T12_09_02_508Z-debug-0.log
#10 ERROR: process "/bin/bash -ol pipefail -c npm i" did not complete successfully: exit code: 1
46 replies