temp.track fails when the file is locked
See original GitHub issuetemp.track
mode fails when the file is locked. It should probably unlock the file before removing.
EBUSY: resource busy or locked, unlink 'C:\Users\VSSADM~1\AppData\Local\Temp\atom-test-data2020615-10032-1reom34.5toc\000003.log'
Error: EBUSY: resource busy or locked, unlink 'C:\Users\VSSADM~1\AppData\Local\Temp\atom-test-data2020615-10032-1reom34.5toc\000003.log'
at Object.unlinkSync (fs.js:1008:3)
at rimrafSync (D:\a\1\s\node_modules\temp\node_modules\rimraf\rimraf.js:306:17)
at D:\a\1\s\node_modules\temp\node_modules\rimraf\rimraf.js:342:5
at Array.forEach (<anonymous>:null:null)
at rmkidsSync (D:\a\1\s\node_modules\temp\node_modules\rimraf\rimraf.js:341:26)
at rmdirSync (D:\a\1\s\node_modules\temp\node_modules\rimraf\rimraf.js:334:7)
at rimrafSync (D:\a\1\s\node_modules\temp\node_modules\rimraf\rimraf.js:304:9)
at cleanupDirsSync (D:\a\1\s\node_modules\temp\lib\temp.js:170:5)
at process.cleanupSync (D:\a\1\s\node_modules\temp\lib\temp.js:222:19)
at process.emit (events.js:194:13)
at App.<anonymous> (D:\a\1\s\out\Atom Dev x64\resources\electron.asar\browser\init.js:63:11)
at App.emit (events.js:194:13)
at AtomApplication.exit (D:\a\1\s\src\main-process\atom-application.js:194:9)
at WebContents.<anonymous> (D:\a\1\s\src\main-process\atom-window.js:234:30)
at WebContents.emit (events.js:194:13)
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Tracking down and unlocking locked files in Windows
One possibility is that temporary files used by the application were not properly cleared out when the application closed.
Read more >Excel 2013 error: file locked for editing - Searched, tried ...
1.Check in 'Task Manager' whether Excel.exe process is running in the background. Look for Excel.exe or Microsoft Excel. · 2.Start Windows ...
Read more >Extract Refresh Fails With Error "Temporary File Is Locked By ...
Issue. Extract refresh job failed with the following error: file is locked by another process: flock(): Resource temporarily unavailable
Read more >VMware virtual machine file lock on VMFS datastore (84475)
Notes: If the VM has no clear process locking the files (no output from the command lsof | grep -i "VM_Name") then this...
Read more >The process cannot access the file because it is being used by ...
A job fails, indicating that a file is locked by another process/task. The console may indicate specifically what file is locked.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Latest release should resolve this!
Sounds good! Doing some maintenance on the package, and built a release, but I will be sure to tackle this this week. I made a plan of action on how to tackle it 👍