R
Railway12mo ago
Devmoha

can any send me the link of caddyfile and .toml file from github link

i can't find it please share with me
33 Replies
Percy
Percy12mo ago
Project ID: N/A
Devmoha
DevmohaOP12mo ago
N/A
Brody
Brody12mo ago
for what type of app? react scripts or vite?
Devmoha
DevmohaOP12mo ago
vite app , i already used it with previous app that you did set me up with me but i want the github link
Devmoha
DevmohaOP12mo ago
thanks : just for reminder , i will copy the cody and nixpack.toml then deploy to railway and if start command is there i will remove , have i missed any steps
Brody
Brody12mo ago
sounds about right
Devmoha
DevmohaOP12mo ago
thanks man
Brody
Brody12mo ago
no problem!
Devmoha
DevmohaOP12mo ago
having errors HAHAHA , i just laughed after i saw the error
Brody
Brody12mo ago
let's see the errors?
Devmoha
DevmohaOP12mo ago
ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm run build" did not complete successfully: exit code: 1 Error: Docker build failed
Devmoha
DevmohaOP12mo ago
i am sorry , i have been trying to figure out bookmarklets usage but i am stug on the first step : Usage: 1. Drag the link to your bookmarks bar , i am using ms edge and when website is open in tab i can't see the bookmarks , i tried to drag it favourites but it wont
Brody
Brody12mo ago
you'd need to enable the bookmark bar first
Devmoha
DevmohaOP12mo ago
where to enable it
Brody
Brody12mo ago
that would be a question for Google (or bing), I don't use edge myself
Devmoha
DevmohaOP12mo ago
ok i will figure out , just wait
Devmoha
DevmohaOP12mo ago
this is build logs
Brody
Brody12mo ago
Could not resolve "../../components/landing-page/nav" from "src/pages/landing-page/Home.jsx"
Could not resolve "../../components/landing-page/nav" from "src/pages/landing-page/Home.jsx"
make sure the file casing is the same locally and on github, specifically Home.jsx
Devmoha
DevmohaOP12mo ago
it running but server error this time https://exam-ai.up.railway.app/
Brody
Brody12mo ago
deploy logs please
Brody
Brody12mo ago
have you copied in the nixpacks.toml and Caddyfile?
Devmoha
DevmohaOP12mo ago
No description
Devmoha
DevmohaOP12mo ago
yes
Brody
Brody12mo ago
spelt nixpacks.toml wrong
Brody
Brody12mo ago
looks like its working now
Devmoha
DevmohaOP12mo ago
yes but i commented the navbar , in local navbar is working but in production shows error , i will figure it out and the will send logs
Brody
Brody12mo ago
that would be a code issue, but im not a frontend dev so i wouldn't be of any help there, you would have a better chance at fixing the issue than i would
Devmoha
DevmohaOP12mo ago
no problem man you are legend
Want results from more Discord servers?
Add your server