electron-store icon indicating copy to clipboard operation
electron-store copied to clipboard

EPERM: operation not permitted, mkdir

Open alitalaghat opened this issue 3 years ago • 1 comments

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:\',
    });
``

alitalaghat avatar Nov 16 '21 23:11 alitalaghat

Same problem. It would throw an error when the 'cwd' was set to the root of any drive on Windows.

stevobm avatar Jan 13 '24 16:01 stevobm