i have next js auth issue with Vercel

Job ID: 36746408

Budget: $10 – $30 USD

Hi, there.

I have next js application and it uses postresql db and prisama, next-auth.

evereything is working fine locally.

And I am able to deploy it on Vercel successfully.

But When I visit sign in page, I am getting error like this.

[Error: EMFILE: too many open files, open '/var/task/node_modules/iconoir-react/dist/esm/RemoveSelection.mjs'] {
errno: -24,
code: 'EMFILE',
syscall: 'open',
path: '/var/task/node_modules/iconoir-react/dist/esm/RemoveSelection.mjs',
page: '/pages/auth/signin'
}
RequestId: 9dc0b008-77f1-4855-bf2a-53bcd1d6c832 Error: Runtime exited with error: exit status 1
Runtime.ExitError

https://github.com/orgs/vercel/discussions/2865


Let me know if you can fix it, I can invite you for the git repo.

Thank you.
Related categories: JavaScript Node.js React.js Typescript Next.js