-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Self-service
- I'd be willing to implement a fix
Describe the bug
Description:
Overview:
When attempting to run yarn dev
in my project, which integrates PayloadCMS and Docker, I encountered the following error:
➜ backend-adm git:(feature-ses-email) ✗ yarn run dev
yarn run v1.22.22
$ cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts nodemon
[nodemon] 2.0.22
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: ts
[nodemon] starting `ts-node src/server.ts`
[nodemon] Internal watch failed: EMFILE: too many open files, watch '/home/yan/Documentos/repos/sats/backend-adm'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error Message:
Internal watch failed: EMFILE: too many open files, watch '/home/yan/Documentos/repos/sats/backend-adm'
Expected Behavior:
The development server should start without encountering any errors related to "too many open files."
Any guidance or suggestions on resolving this issue would be greatly appreciated. Thank you!
To reproduce
Steps to Reproduce:
Should Clone the project repository (its private so i cant provide).
Install dependencies (yarn install).
Ensure Docker is running and all necessary services are up.
Verify the configuration files (payload.config.ts, Dockerfile, etc.).
Run yarn dev.
Observe the error message mentioned above.
Environment
System:
OS: Fedora Linux 39 (Workstation Edition) x86_64
Kernel: 6.8.6-200.fc39.x86_64
Enviroment:
yarn: v1.22.22
NVM: 0.39.1
Node: v20.11.1
Payload: ^1.11.7
Docker: Docker version 26.0.2, build 3c863ff
Additional context
➜ ~ ulimit
unlimited
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working