5 Potential Problems And Solutions - lilpug/ModFrame GitHub Wiki

Access Denied

On Windows when you create a new module, layout or internal plugin folder and try to rename them, it might fail with access denied, unfortunately after much research this is just how Windows works, it cannot be renamed because the gulp file watchers are currently monitoring the directory for your CSS, JS and file changes, to deal with this you will need to go to your Task Runner Explorer in Visual Studio and stop the “2-MF-start-watchers” task, make the change and then click the same task name in the Tasks list and run it again to boot up the watchers.