I am receiving the following error using fs-extra:
ERROR { [Error: EPERM: operation not permitted, unlink 'C:\Projects\xxx\branches\xxx\release'] errno: -4048, code: 'EPERM', syscall: 'unlink', path: 'C:\Projects\xxx\branches\xxx\release' }
When using this code in my node application:
const fse = require('fs-extra');
fse.copySync('../util/various/a.html', '../release');
fse.copySync('../util/various/b.html', '../release');
I would like to know, what could cause the error and how to fix it.