6 months ago
Been using railway for a couple weeks. Now i want to deploy a nextjs server but this is the message I get after executing the command railway up
I tried deleting the project and creating a new one, and my internet connection is stable
Any ideas? :c
0 Replies
How big is your project? CLI uploads have a size limit and if your repo contains a lot of media files, you'd have to move those to a volume instead of pushing them along with the code
Its only 30 MB 😄
fvjohnny@SP-LPMAC2407 bot % du -sh astonishing-baby-napkin
30M astonishing-baby-napkin
It could be that you just have a really slow connection between you and railway servers
6 months ago
Try a smaller repo, move media files out of the project
6 months ago
45MB iirc
I fixed it by adding my ".next" folder to the .railwayignore file !! Thank you!
6 months ago
wouldnt you want the next folder in the .gitignore?
6 months ago
like it should have been in there all along
6 months ago
got me there
6 months ago
use .gitignore anyway, the cli respects it too
6 months ago
!s
Status changed to Solved brody • 6 months ago