Description
Running the documented local development command npm run dev fails immediately because nodemon hits a file watcher limit and exits with EMFILE: too many open files, watch.
This prevents the intended development workflow from starting successfully, even though the application itself can still be started through the non-watching path (npm start / node index.js).
Expected Behavior
npm run dev should start the local development server successfully without crashing due to watcher exhaustion.
How to Reproduce
- Clone the repository
- Install dependencies with
npm install
- Run
npm run dev
- Observe that
nodemon crashes before the dev workflow becomes usable
Console log Errors:
> musicblocks@3.4.1 dev
> cross-env NODE_ENV=development nodemon index.js
[nodemon] 3.1.14
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,cjs,json
[nodemon] starting `node index.js`
[nodemon] Internal watch failed: EMFILE: too many open files, watch
Environment:
- Operating System: macOS (darwin)
Checklist
Thank you for contributing to our project! We appreciate your help in improving it.
π See contributing instructions.
ππΎππΌ Questions: Community Matrix Server.
Description
Running the documented local development command
npm run devfails immediately becausenodemonhits a file watcher limit and exits withEMFILE: too many open files, watch.This prevents the intended development workflow from starting successfully, even though the application itself can still be started through the non-watching path (
npm start/node index.js).Expected Behavior
npm run devshould start the local development server successfully without crashing due to watcher exhaustion.How to Reproduce
npm installnpm run devnodemoncrashes before the dev workflow becomes usableConsole log Errors:
Environment:
Checklist
Thank you for contributing to our project! We appreciate your help in improving it.
π See contributing instructions.
ππΎππΌ Questions: Community Matrix Server.