microsoft / vso-agent

Visual Studio Team Services and TFS agent for Mac OSX and Linux
MIT License
131 stars 57 forks source link

Failed: npm install Failed with return code 243 #214

Closed kpworld closed 8 years ago

kpworld commented 8 years ago

Had no issues on 4 other boxes testing the installation. But get the failed message as noted in subject on 2 other boxes. Below is the output from installation. the NPM version is the same on all of the servers, 1.3.6

Failed: npm install Failed with return code 243

Thoughts on why this is failing ?

-bash-4.2$ curl -skSL http://aka.ms/xplatagent | bash removing existing runtime


 Acquiring Node 4.2.6

Download exists Already extracted using node : /opt/myagent/runtime/node/bin/node using npm : /opt/myagent/runtime/node/bin/npm


 Acquiring TEE CLI 14.0.2

Download exists Already extracted


 Installing agent installer

Cleaning up existing agent /opt/myagent/_installer /opt/myagent Installing... script location: . installing vsoagent-installer@0.4 ... Failed: npm install Failed with return code 243

kpworld commented 8 years ago

Resolved this one also. Found in log that it was a permission error that needed to get corrected.