-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: EMFILE: too many open files #208
Comments
@dct0 can you help me with a live example to reproduce the problem |
@wootsbot See this repo https://github.com/dct0/react-simple-icons-test for a minimal example and deployment. |
Any progress on this? I can't use this when deploying to Vercel |
@irg1008 update version |
Updating to 9.5.0 did not resolve the issue for me |
Estoy trabajando en esto, las vacaciones fueron largas. |
i am using remix, same problem.. |
I hope to solve it this week, please help me with a link so I can reproduce it |
Me too, i'm also using Remix & deploy to Vercel. Currently i change package from |
Is there any update on this ? Is there even anyone looking into this issue ? |
I will prioritize this next week. I’ve been very busy, but I hope to get back to it soon. |
@wootsbot let me know if I could help someway. I built a project using these icons and found this issue while deplopying to Vercel 😅 , has become a big blocker me. |
I don't think treeshaking is working correctly when this library is built and packaged for npm. Then, for us consumers, I think what is happening is that the edge function on vercel is loading every single file in this library causing this burnout . The error will not occur if the page is not SSG. Other libraries like lucide-react have had this problem in the past as well. However, I can confirm directly importing the file solves the problem:
|
Description
Getting the following error when deploying on Vercel importing any icon.
I have not imported
SiGooglecloudcomposer
anywhere.Related issues:
I am using Astro, so I cannot use the Next.js fix. My current workaround is importing the desired icons as follows:
EDIT here's another workaround:
Repro
npm create astro@latest
npx astro add react
npm install @icons-pack/react-simple-icons
Add an icon to the home page
Deploy to vercel using '@astrojs/vercel/serverless' https://docs.astro.build/en/guides/deploy/vercel/#adapter-for-ssr
The text was updated successfully, but these errors were encountered: