cli icon indicating copy to clipboard operation
cli copied to clipboard

too many open files error

Open sagivo opened this issue 3 years ago • 4 comments

each time i try to use the up commend i get this error, each time for another random file.

$ railway up
🚈 Laying tracks in the clouds... open merged-prettier-plugin.js: too many open files

tried with both 1.1.1 and 1.2.1 versions.

sagivo avatar Feb 16 '22 22:02 sagivo

You'll wanna probably add node_modules and any other artifact files to a .railwayignore or your .gitignore

JakeCooper avatar Feb 16 '22 22:02 JakeCooper

it's already in my .gitignore file.

sagivo avatar Feb 16 '22 22:02 sagivo

Hmm... It's supposed to fall back to node_modules and .git if no .railwayignore is found:

https://github.com/railwayapp/cli/blob/64f6a1715d226ffd48af887687f6796134325624/controller/up.go#L29-L34

I hope I didn't break anything.

aleksrutins avatar Feb 16 '22 22:02 aleksrutins

I git pull from my repo and it got resolved. No idea why, only a tiny change in one file.

sagivo avatar Feb 17 '22 00:02 sagivo

This should be fixed in the latest version

coffee-cup avatar Aug 23 '22 19:08 coffee-cup