-
-
Notifications
You must be signed in to change notification settings - Fork 20
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... " when deploying Nuxt 3 app with Phosphor Icons to Netlify #35
Comments
Sorry for getting back to you so late, aparrently I wasn't automatically set as an assignee. |
Hey @dnlsndr, thanks so much for responding to this issue. package.json
nuxt.config.ts
I believe the error can be addressed using this simple Nuxt project since the error occurs here. I hope that's okay. Thanks @dnlsndr |
I've implemented a compact build that's only a single file. This should help with your building issues. Check the release notes: https://github.com/phosphor-icons/vue/releases/tag/v2.1.4 |
@dnlsndr I have changed all my imports to be
|
🐛 The bug
When I deploy my Nuxt 3 app which uses the @phosphor-icons/vue package to Netlify, the deployment is successful but when I visit the site, initially, I get an error:
After some time, when I revisit the site, I get this error:
It works okay in development and I've also tried building the app locally, Nuxt uses the "node-server" option and that works fine.
🛠️ To reproduce
https://stackblitz.com/edit/nuxt-starter-tfqdxc?file=app.vue
🌈 Expected behaviour
The Icons should be displayed in production when deployed to Netlify and not crash the entire app.
ℹ️ Additional context
No response
The text was updated successfully, but these errors were encountered: