szwacz / fs-jetpack

Better file system API for Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't delete a folder with .dll files inside

debelop13 opened this issue · comments

Hello,

There is an error, in Windows 10, when I try to delete a folder with .dll inside

jquery.js:3827 Uncaught Error: ENOTDIR: not a directory, scandir 'C:\Users\Admin\AppData\Roaming\Electron\resources\keyDLL.dll'
at Object.fs.readdirSync (fs.js:910)
at Object.fs.readdirSync (ELECTRON_ASAR.js:578)
at Object.listSync [as sync] (node_modules\fs-jetpa…:17)
at removeSync (node_modules\fs-jetpa…:28)
at list.sync.forEach.filename (node_modules\fs-jetpa…:29)
at Array.forEach ()
at removeSync (node_modules\fs-jetpa…:28)
at list.sync.forEach.filename (node_modules\fs-jetpa…:29)
at Array.forEach ()
at Object.removeSync [as sync] (node_modules\fs-jetpa…:28)

Thanks for reporting, will try to replicate the problem at the weekend.

I wasn't able to reproduce this problem. Looks like something more tricky is going on on your machine. Sorry, can't help here.