This error may be caused by your antivirus software. To check if that's the reason, TEMPORARILY disable your antivirus software for one compilation. If that causes the problem to go away then you will need to whitelist the appropriate folder or program in your antivirus software.