-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed
Description
- Version: v14.16.1
- Platform: Linux 5.8.0-50-generic fs: fix fd leak in ReadStream.destroy() #56~20.04.1-Ubuntu GNU/Linux
What steps will reproduce the bug?
I have a node/express api, and when try run Mochajs for run tests, a error related with node show up.
How often does it reproduce? Is there a required condition?
Each time I run mocha
or npm run test
script
What is the expected behavior?
A successful running process
What do you see instead?
Error: EACCES: permission denied, scandir '/etc/cups/ssl'
at Object.readdirSync (fs.js:1021:3)
at GlobSync._readdir (/node_modules/glob/sync.js:288:41)
at GlobSync._readdirInGlobStar (/node_modules/glob/sync.js:267:20)
at GlobSync._readdir (/node_modules/glob/sync.js:276:17)
at GlobSync._processReaddir (/node_modules/glob/sync.js:137:22)
at GlobSync._process (/node_modules/glob/sync.js:132:10)
at GlobSync._processGlobStar (/node_modules/glob/sync.js:380:10)
at GlobSync._process (/node_modules/glob/sync.js:130:10)
at GlobSync._processGlobStar (/node_modules/glob/sync.js:383:10)
at GlobSync._process (/node_modules/glob/sync.js:130:10)
at GlobSync._processGlobStar (/node_modules/glob/sync.js:383:10)
at GlobSync._process (/node_modules/glob/sync.js:130:10)
at new GlobSync (/node_modules/glob/sync.js:48:10)
at Function.globSync [as sync] (/node_modules/glob/sync.js:26:10)
at lookupFiles (/node_modules/mocha/lib/cli/lookup-files.js:91:24)
at /node_modules/mocha/lib/cli/collect-files.js:36:39
at Array.reduce (<anonymous>)
at module.exports (/node_modules/mocha/lib/cli/collect-files.js:34:26)
at beforeRun (/node_modules/mocha/lib/cli/watch-run.js:123:24)
at Object.run (/node_modules/mocha/lib/cli/watch-run.js:264:25)
at FSWatcher.<anonymous> (/node_modules/mocha/lib/cli/watch-run.js:184:14)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Metadata
Metadata
Assignees
Labels
No labels