R
Railway2y ago
eddie

upgraded to new railway, having "program not found"

i just upgraded to railway 3 and now having troubles getting "railway run" working. if i run "yarn dev" it works, but if i run "railway run yarn dev" it says "program not found". i confirmed that the environment and services (and variables) are all right, not sure what else I should be doing, thanks
16 Replies
Percy
Percy2y ago
Project ID: N/A
Percy
Percy2y ago
⚠️ experimental feature
eddie
eddieOP2y ago
ok works if i use "railway shell" then run "yarn dev", can i not use "railway run yarn dev" anymore?
milo
milo2y ago
you should be able to. this might be due to some of the recent changes in the cjangelog about databases. Can you click variables and send a screenshot?
eddie
eddieOP2y ago
this?
eddie
eddieOP2y ago
project 448a8382-6e3f-42d6-a3cd-a9a8c5493c1d service d56b464c-e00a-4c21-9034-4aebd0a5c1b5
milo
milo2y ago
Oh weird. Are you connected to the correct service and project?
eddie
eddieOP2y ago
yes its correct (i checked by typing railway variables and showed me the correct variables for the service/env)
Brody
Brody2y ago
Eddie, do you still get the database error when running yarn dev in the railway shell? from what I can gather from your first screenshot is you got that error from running yarn dev without railway run or railway shell?
milo
milo2y ago
I think railway run breaks with got bash can u try in power shell
eddie
eddieOP2y ago
i do NOT get the error it breaks when i do this: railway run yarn dev it works fine if i do this: railway shell yarn dev the screenshot is without doing the railway shell command
Brody
Brody2y ago
okay so if you run your app under railway shell, everything works?
milo
milo2y ago
eddie
eddie
eddieOP2y ago
(sorry had to put my daughter to sleep, trying now)
eddie
eddieOP2y ago
milo
milo2y ago
Google power shell script execution policy and follow steps to disable it
Want results from more Discord servers?
Add your server