why my project it's not working

stevencandrinkTRIAL

a year ago

++my Build log

522a875d-5e72-4f23-bcde-81f9c3352388: digest: sha256:5dc6ef61819724aa133038247d29aa0284b40465a017e50ee5ba72ce83354e14 size: 2846++Deploy lognpm WARN config production Use --omit=dev instead.

Jun 11 21:49:01

> unfair-spin-wheel@0.0.0 dev

Jun 11 21:49:01

> vite --host

Jun 11 21:49:01

VITE v4.5.3 ready in 357 ms

Jun 11 21:49:01

Local: http://localhost:5173/

Jun 11 21:49:01

Network: http://172.17.3.60:5173/

Jun 11 21:49:01

[vite-plugin-static-copy] Collected 2 items.

4 Replies

a year ago

You are trying to run a development server.

Here is an example repo for a vite app that will help you properly deploy your vite app onto Railway -

https://github.com/brody192/vite-react-template

Copy the nixpacks.toml and Caddyfile from this repo into your repo, if you have a build or start command set in your service settings please remove them.


stevencandrinkTRIAL

a year ago

#13 [stage-0 6/15] RUN curl -fsSLo caddy.tar.gz "https://github.com/caddyserver/caddy/releases/download/v2.8.4/caddy_2.8.4_linux_amd64.tar.gz";

Jun 11 22:50:35

Jun 11 22:51:35

#13 60.80 curl: (56) OpenSSL SSL_read: Connection reset by peer, errno 104

Jun 11 22:51:35

Jun 11 22:51:35

#13 ERROR: process "/bin/bash -ol pipefail -c curl -fsSLo caddy.tar.gz \"https://github.com/caddyserver/caddy/releases/download/v${CADDY_VERSION}/caddy_${CADDY_VERSION}_linux_amd64.tar.gz\"" did not complete successfully: exit code: 56

Jun 11 22:51:35

-----

Jun 11 22:51:35

> [stage-0 6/15] RUN curl -fsSLo caddy.tar.gz "https://github.com/caddyserver/caddy/releases/download/v2.8.4/caddy_2.8.4_linux_amd64.tar.gz";:

Jun 11 22:51:35

60.80 curl: (56) OpenSSL SSL_read: Connection reset by peer, errno 104

Jun 11 22:51:35

-----

Jun 11 22:51:35

Jun 11 22:51:35

Dockerfile:19

Jun 11 22:51:35

-------------------

Jun 11 22:51:35

17 | # caddy phase

Jun 11 22:51:35

18 | COPY . /app/.

Jun 11 22:51:35

19 | >>> RUN curl -fsSLo caddy.tar.gz "https://github.com/caddyserver/caddy/releases/download/v${CADDY_VERSION}/caddy_${CADDY_VERSION}_linux_amd64.tar.gz"

Jun 11 22:51:35

20 | RUN tar -zxvf caddy.tar.gz caddy

Jun 11 22:51:35

21 | RUN chmod +x caddy

Jun 11 22:51:35

-------------------

Jun 11 22:51:35

ERROR: failed to solve: process "/bin/bash -ol pipefail -c curl -fsSLo caddy.tar.gz \"https://github.com/caddyserver/caddy/releases/download/v${CADDY_VERSION}/caddy_${CADDY_VERSION}_linux_amd64.tar.gz\"" did not complete successfully: exit code: 56

Jun 11 22:51:35

Jun 11 22:51:35

Error: Docker build failedplz help


stevencandrinkTRIAL

a year ago

My using vite vue not react plz help


a year ago

It does not matter what framework you are using. Please try redeploying.


why my project it's not working - Railway Help Station