R
Railway16mo 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
Percy16mo ago
Project ID: N/A
Percy
Percy16mo ago
⚠️ experimental feature
eddie
eddie16mo ago
ok works if i use "railway shell" then run "yarn dev", can i not use "railway run yarn dev" anymore?
milo
milo16mo 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
eddie16mo ago
this?
eddie
eddie16mo ago
project 448a8382-6e3f-42d6-a3cd-a9a8c5493c1d service d56b464c-e00a-4c21-9034-4aebd0a5c1b5
milo
milo16mo ago
Oh weird. Are you connected to the correct service and project?
eddie
eddie16mo ago
yes its correct (i checked by typing railway variables and showed me the correct variables for the service/env)
Brody
Brody16mo 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
milo16mo ago
I think railway run breaks with got bash can u try in power shell
eddie
eddie16mo 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
Brody16mo ago
okay so if you run your app under railway shell, everything works?
milo
milo16mo ago
eddie
eddie
eddie16mo ago
(sorry had to put my daughter to sleep, trying now)
eddie
eddie16mo ago
milo
milo16mo ago
Google power shell script execution policy and follow steps to disable it