The problem is that the C drive doesn't allow npm to rename files. Move your project folder to any other drive (eg. D drive). This fixes the permission errors.