Replies: 1 comment 5 replies
-
If your theory is right, then the scanner would be causing trouble in the Mind sharing the output when you run I'll spin up a prioritized issue to resolve, would love your help on a fix if you're interested! |
Beta Was this translation helpful? Give feedback.
-
We are currently doing some tests with snowpack on our very large code base and are getting the
EMFILE: too many open files
error in our Bamboo builds. I suspect that the issue has to do with theulimit -n
of the machines used in these deploys.The maximum limit for these machines is 4096 and, unfortunately, we cannot set a higher limit. We believe the error is the result of the reads being done by
es-module-lexer
during the import scanning process.Is this something that anyone else has encountered?
I think a potential workaround for this error would be to use
graceful-fs
for those reads.This is a real bummer for us, as this blocks us from being able to use snowpack for our production builds.
Beta Was this translation helpful? Give feedback.
All reactions