Problem with ionic prepare ios

When I run “ionic prepare ios” I get the following message:

Error: EPERM: operation not permitted, open ‘D:\dev\blue_mobile_app\platforms\ios\Blue Service.xcodeproj\project.pbxproj’

Because of that I have to remove and add ios platform again. It happens even with admin permissions.

Any ideas of whats wrong?

ordova CLI: 6.5.0
Ionic Framework Version: 3.0.1
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.10.0
Xcode version: Not installed

Virus scan? Any other program running that could block a file? Did you restart your computer?

It seems to be working after I ran “npm install” again. Not sure what was wrong!