microsoft / vsts-cordova-tasks

Streamline CI setup for your Apache Cordova, PhoneGap, Ionic, or Cordova CLI compatible app using a set of useful pre-defined build steps for VS Team Services or TFS
http://go.microsoft.com/fwlink/?LinkID=691188
Other
25 stars 27 forks source link

EPERM issues when installing a version of Cordova or its dependencies on Windows #15

Closed Chuxel closed 8 years ago

Chuxel commented 8 years ago

There is a race condition in npm 2 on Windows that can cause an EPERM issue when running an npm install. Details of this problem are well documented here. https://github.com/Microsoft/vso-agent-tasks/issues/323

taco-team-build should be modified to pass --force into the npm install command when installing npm packages as a workaround and the VSTS extension be rev'd as a result.

Chuxel commented 8 years ago

Fixed by PR 18