a year ago
Hi <@539512869780455445>, i'm using the a template repo that is similarly used by @ar and i did update the script in package.json and apparently i am getting this issue on the build step
0 Replies
a year ago
please provide your build logs with that bookmarklet I gave you
and here's the repo: https://github.com/ibrahimyaacob92/turborepo-next-trpc
a year ago
you are missing a pnpm-lock.yaml file
a year ago
well scratch that, the build thinks you are missing a pnpm-lock.yaml file, but it's in your repo
a year ago
have you modified the root directory of your service?
a year ago
what version of pnpm do you use locally?
a year ago
railway is using pnpm 7 something, you should be able to set the pnpm version as shown here
a year ago
yep
okay the build & deployment works now! thank you @Brody . but now im getting new error, cant view the app
https://turborepo-next-trpc-production.up.railway.app/
i checked the help section and found answer where i need to use env.PORT
and [env.HOST](env.HOST)
from railway, i swear the template already have this value in places
a year ago
don't use a HOST variable, I'm not sure where you read that but it's incorrect.
you app only needs to listen on 0.0.0.0
and $PORT
a year ago
awesome
a year ago
happy to help