We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version: v0.12.14 Platform: Windows 7 x64 Subsystem: N/A
I am trying to read files and remove them using chokidar and async.
The issue that happens that once every couple of files I get these errors
error: Error: EBUSY, open 'FILENAME' at Error (native) { [Error: EBUSY, unlink 'FILENAME'] errno: -4082, code: 'EBUSY', path: 'FILENAME' }
Here is short breakdown of my code
chokidar.watch("FOLDERNAME",{ persistent: true }).on("add", function(filepath){ queue.push(filepath, function(err, results){ if(err) logger.error(err); fs.unlink(filepath, function(err){ if(err) console.error(err); }); }); }); var queue = async.queue(function(filepath, callback){ fs.readFile(filepath, function(err, fileData){ // blah process }); }, 1);
Any insight or direction would be helpful. Thanks!
P.S. - I am not sure I opened the issue correctly regarding the guidelines so I apologize ahead of time.
The text was updated successfully, but these errors were encountered:
Can you try asking this question at https://github.com/nodejs/help. If it turns out to be an actual issue with Node core, we can revisit this issue.
Sorry, something went wrong.
No branches or pull requests
Version: v0.12.14
Platform: Windows 7 x64
Subsystem: N/A
I am trying to read files and remove them using chokidar and async.
The issue that happens that once every couple of files I get these errors
Here is short breakdown of my code
Any insight or direction would be helpful. Thanks!
P.S. - I am not sure I opened the issue correctly regarding the guidelines so I apologize ahead of time.
The text was updated successfully, but these errors were encountered: