MrEpiko
MrEpiko
Explore posts from servers
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
Thank you so much 😄
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
Well, looks like it's working now
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
Aha
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
Random question, but why can't you see images?
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
No description
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
It was working fine until I deleted node_modules from github repo
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
Can you take a look at screenshot while I try to figure it out
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
Yeah I did, is there some video explanation?
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
No description
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
As for this site, it's not working for me for some reason
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
No description
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
Oh right my bad
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
And error is still the same
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
No description
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
No idea why is it mentioning Docker tho
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
#18 [stage-0 12/15] RUN --mount=type=cache,id=s/4927b395-9f83-49be-98b0-f1a96e982fbe-node_modules/cache,target=/app/node_modules/.cache npm run build



#18 1.251 npm

WARN config production Use `--omit=dev` instead.

#18 1.357

#18 1.357 > frontend@0.0.0 build

#18 1.357 > vite build

#18 1.357



#18 1.367 sh: 1: vite: Permission denied

#18 ERROR: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 126

-----

> [stage-0 12/15] RUN --mount=type=cache,id=s/4927b395-9f83-49be-98b0-f1a96e982fbe-node_modules/cache,target=/app/node_modules/.cache npm run build:

WARN config production Use `--omit=dev` instead.

1.357

1.357 > frontend@0.0.0 build

1.357 > vite build

1.357

1.367 sh: 1: vite: Permission denied

-----



Dockerfile:30

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

28 | # build phase

29 | COPY . /app/.

30 | >>> RUN --mount=type=cache,id=s/4927b395-9f83-49be-98b0-f1a96e982fbe-node_modules/cache,target=/app/node_modules/.cache npm run build

31 |

32 | # fmt phase

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

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



Error: Docker build failed
#18 [stage-0 12/15] RUN --mount=type=cache,id=s/4927b395-9f83-49be-98b0-f1a96e982fbe-node_modules/cache,target=/app/node_modules/.cache npm run build



#18 1.251 npm

WARN config production Use `--omit=dev` instead.

#18 1.357

#18 1.357 > frontend@0.0.0 build

#18 1.357 > vite build

#18 1.357



#18 1.367 sh: 1: vite: Permission denied

#18 ERROR: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 126

-----

> [stage-0 12/15] RUN --mount=type=cache,id=s/4927b395-9f83-49be-98b0-f1a96e982fbe-node_modules/cache,target=/app/node_modules/.cache npm run build:

WARN config production Use `--omit=dev` instead.

1.357

1.357 > frontend@0.0.0 build

1.357 > vite build

1.357

1.367 sh: 1: vite: Permission denied

-----



Dockerfile:30

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

28 | # build phase

29 | COPY . /app/.

30 | >>> RUN --mount=type=cache,id=s/4927b395-9f83-49be-98b0-f1a96e982fbe-node_modules/cache,target=/app/node_modules/.cache npm run build

31 |

32 | # fmt phase

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

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



Error: Docker build failed
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
Give me a second
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
Oh
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
I still don't have Dockerfile in frontend set up if that's what you mean
85 replies
RRailway
Created by MrEpiko on 11/29/2023 in #✋|help
Deploying a website
wdym
85 replies