Replies: 3 comments 2 replies
-
|
Hey! So looking at this — it doesn't look related to heroicons. You just happen to be hitting a limitation on Vercel on number of open files. My guess is it's because the build is being performed on Vercel and it has to go through a bunch of files to bundle them. The repo doesn't happen to be public does it? |
Beta Was this translation helpful? Give feedback.
-
|
I ran into the very same error today. It's not a build error, but a runtime error. There seem to be other reports like this on vercel community, but no definitive answer or root cause identified. I also don't have a public repo that I can share to illustrate the issue :(. There seem to be similar errors reported in Vercel + Next.JS which seems to have introduced some sort of modularize imports feature to optimize imports: vercel/next.js#52646 though the files involved there are from Is there something about the way heroicons are bundled / imported that leads to this issue? |
Beta Was this translation helpful? Give feedback.
-
|
Update: I removed a bunch of unused heroicon imports and the runtime error went away. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
When deploying an application using Heroicons version 2.0.18 on Vercel, I am experiencing a runtime error that is not present when running the application locally or on another application within the same monorepo.
Error Details:
Here is the error I receive when deploying on Vercel:
package.json
Additional Information:
If more information is required to understand and resolve this issue, kindly let me know.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions