error deploying react project

deriancPRO

10 months ago

10 ERROR: process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 1

ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 1

Error: Docker build failed

[Region: us-west1]

Aug 05 19:51:27

==============

Aug 05 19:51:27

Using Nixpacks

Aug 05 19:51:27

==============

Aug 05 19:51:27

Aug 05 19:51:27

context: fbbf342651e4869cee30de70c3526c87

Aug 05 19:51:27

Aug 05 19:51:27

╔════════ Nixpacks v1.24.0 ═══════╗

Aug 05 19:51:27

║ setup │ nodejs_18, npm-9_x ║

Aug 05 19:51:27

║─────────────────────────────────║

Aug 05 19:51:27

║ install │ npm ci ║

Aug 05 19:51:27

║─────────────────────────────────║

Aug 05 19:51:27

║ build │ npm run build ║

Aug 05 19:51:27

║─────────────────────────────────║

Aug 05 19:51:27

║ start │ npm run start ║

Aug 05 19:51:27

╚═════════════════════════════════╝

Aug 05 19:51:27

Aug 05 19:51:27

Aug 05 19:51:28

#0 building with "default" instance using docker driver

Aug 05 19:51:28

Aug 05 19:51:28

#1 [internal] load build definition from Dockerfile

Aug 05 19:51:28

#1 transferring dockerfile: 2.17kB done

Aug 05 19:51:28

#1 DONE 0.0s

Aug 05 19:51:28

Aug 05 19:51:28

#2 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1716249803

Aug 05 19:51:28

#2 DONE 0.1s

Aug 05 19:51:28

Aug 05 19:51:28

Aug 05 19:51:28

#3 [internal] load .dockerignore

Aug 05 19:51:28

#3 transferring context: 2B done

Aug 05 19:51:28

Aug 05 19:51:28

#3 DONE 0.0s

Aug 05 19:51:28

Aug 05 19:51:28

#4 [stage-0 1/10] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1716249803@sha256:5ef4d2021c418fcaabb56cea5ea9e24a5fdedfe27f58062d9689214dfed45c46

Aug 05 19:51:28

#4 DONE 0.0s

Aug 05 19:51:28

Aug 05 19:51:28

#5 [internal] load build context

Aug 05 19:51:28

#5 transferring context: 9.35MB 0.1s done

Aug 05 19:51:28

#5 DONE 0.1s

Aug 05 19:51:28

Aug 05 19:51:28

#6 [stage-0 2/10] WORKDIR /app/

Aug 05 19:51:28

#6 CACHED

Aug 05 19:51:28

Aug 05 19:51:28

#7 [stage-0 3/10] COPY .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix

Aug 05 19:51:28

#7 DONE 0.0s

Aug 05 19:51:28

Aug 05 19:51:28

Aug 05 19:51:28

#8 [stage-0 4/10] RUN nix-env -if .nixpacks/nixpkgs-bf446f08bff6814b569265bef8374cfdd3d8f0e0.nix && nix-collect-garbage -d

Aug 05 19:51:28

Aug 05 19:51:50

#8 22.12 installing 'bf446f08bff6814b569265bef8374cfdd3d8f0e0-env'

Aug 05 19:51:50

Aug 05 19:51:51

#8 22.88 these 6 derivations will be built:

Aug 05 19:51:51

#8 22.88 /nix/store/9jijmsynbjr2wsabazhp1gz1lgss05s8-npm-9.9.3.tgz.drv

Aug 05 19:51:51

#8 22.88 /nix/store/a6w99wic1why3rxw0bnkqaf69mbmz9wr-libraries.drv

Aug 05 19:51:51

#8 22.88 /nix/store/bbmz5j9svcgn8ml8n74qkma0f5yk59nf-bf446f08bff6814b569265bef8374cfdd3d8f0e0-env.drv

Aug 05 19:51:51

#8 22.88 /nix/store/jisjdnq3299rv6a180zzjdqkr453irqn-npm.drv

Aug 05 19:51:51

#8 22.88 /nix/store/r807jz88ahkfigi3npq0x1fb1xxz0vwp-builder.pl.drv

Aug 05 19:51:51

#8 22.88 /nix/store/blmihriik4zb35ync9fkcqi3lmra5hka-bf446f08bff6814b569265bef8374cfdd3d8f0e0-env.drv

Aug 05 19:51:51

#8 22.88 these 81 paths will be fetched (110.24 MiB download, 521.65 MiB unpacked):

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Awaiting User Response

3 Replies

10 months ago

Is this a create react app or vite react app?


deriancPRO

10 months ago

create react


Status changed to Awaiting Railway Response railway[bot] 10 months ago


10 months ago

hi, if this is for the relehelp service, I'm seeing errors in your build logs about your packages:

#10 39.23 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@fortawesome%2fpro-light-svg-icons - Not found

#10 39.23 npm ERR! 404

#10 39.23 npm ERR! 404  '@fortawesome/pro-light-svg-icons@6.5.1' is not in this registry.

#10 39.23 npm ERR! 404

#10 39.23 npm ERR! 404 Note that you can also install from a

#10 39.23 npm ERR! 404 tarball, folder, http url, or git url.

#10 39.23

#10 39.23 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-08-06T00_11_05_428Z-debug-0.log

Status changed to Awaiting User Response railway[bot] 10 months ago