Skip to content

v5: too many open files on vercel #1189

@samuelcole

Description

@samuelcole

Checklist

  • I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

we get this error message, for a variety of files in node_modules/auth0/dist:

[Error: EMFILE: too many open files, open '/var/task/node_modules/auth0/dist/esm/management/api/types/FormSummary.mjs'] {
  errno: -24,
  code: 'EMFILE',
  syscall: 'open',
  path: '/var/task/node_modules/auth0/dist/esm/management/api/types/FormSummary.mjs'
}

Reproduction

  1. upgrade to auth0 v5
  2. deploy to vercel

Additional context

we haven't managed to upgrade nextjs-auth0 to 4 yet so we are on ^3.8.0

node-auth0 version

5.0.0

Node.js version

22.17.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis points to a verified bug in the code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions