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:
- info Loaded env from /var/task/apps/tenders/.env
[Error: EMFILE: too many open files, open '/var/task/node_modules/@headlessui/react/dist/components/radio-group/radio-group.js'] {
errno: -24,
code: 'EMFILE',
syscall: 'open',
path: '/var/task/node_modules/@headlessui/react/dist/components/radio-group/radio-group.js',
page: '/'
}
RequestId: 6c29a3c9-0bc3-496b-b942-06fc7826872d Error: Runtime exited with error: exit status 1
Runtime.ExitError
- info Loaded env from /var/task/apps/tenders/.env
[Error: EMFILE: too many open files, open '/var/task/node_modules/@headlessui/react/dist/components/menu/menu.js'] {
errno: -24,
code: 'EMFILE',
syscall: 'open',
path: '/var/task/node_modules/@headlessui/react/dist/components/menu/menu.js',
page: '/'
}
RequestId: 278458b4-ffe7-4dbb-b294-b83ffbc1c770 Error: Runtime exited with error: exit status 1
Runtime.ExitError
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.