Build not progressing, no logs shown

When I try to deploy my project, everything seems to work fine up until I finish selecting a service to deploy to (following railway up command). Then the build seems to be stuck before it starts:
Compressed [====================] 100%
Build Logs:
Now it seems that the build ran and the code was deployed (still without any logs or indication that this happened) but I can't run a migration. When I try railway run db:migrate and then select the service, I get the following:
Error: Failed to spawn command

Caused by:
No such file or directory (os error 2)
Project ID: f8479d47-aace-45fa-9a75-ac584d7eed8e
i think you may want to run railway run npm run db:migrate