You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried set decompress dest path to my destPath directly, and it threw an unknown error. It seems that destPath is hidden on Windows (.config directory).
So I dig up from fs library, a solution is set flag to 'r+'
On Windows, opening an existing hidden file using the 'w' flag (either through fs.open() or fs.writeFile() or fsPromises.open()) will fail with EPERM. Existing hidden files can be opened for writing with the 'r+' flag.
Here is the situation.
I tried set decompress dest path to my destPath directly, and it threw an
unknown error
. It seems that destPath is hidden on Windows (.config directory).So I dig up from fs library, a solution is set flag to 'r+'
So, is there a way to get rid of this extra
decompress_output
directory?The text was updated successfully, but these errors were encountered: