electron-store
electron-store copied to clipboard
EPERM: operation not permitted, mkdir
I tried to set storage location to drive D on Windows 10, But I got the following error: EPERM: operation not permitted, mkdir 'D:'
An example:
const Store = require('electron-store');
let electron_store = new Store({
cwd: 'D:\',
});
``
Same problem. It would throw an error when the 'cwd' was set to the root of any drive on Windows.