title: Error when install Cordova on Mac
body: <p>I was trying to install Cordova by using npm, but it took more than one hour, and then I gave up. Later I tried to follow the instruction from <a href="http://cordova.apache.org/" rel="nofollow">http://cordova.apache.org/</a>, and the error occurred when I executed <code>npm install -g ios-deploy</code>.</p>
  
  <p>Here is what I get in command line:</p>
  
  <blockquote>
    <p>YangHenrydeMacBook-Pro:~ Yong$ sudo npm install -g ios-deploy
    npm WARN lifecycle ios-deploy@1.8.3~preinstall: cannot run in wd %s %s (wd=%s) ios-deploy@1.8.3 ./src/check_reqs.js &amp;&amp; xcodebuild /usr/local/lib/node_modules/.staging/ios-deploy-fbfd9f76b9a8909271fae167aab47715<br>
    npm ERR! Darwin 14.4.0<br>
    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "ios-deploy"<br>
    npm ERR! node v5.1.1<br>
    npm ERR! npm  v3.3.12<br>
    npm ERR! path /usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy<br>
    npm ERR! code ENOENT<br>
    npm ERR! errno -2<br>
    npm ERR! syscall chmod<br>
    npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/ios-deploy/build/Release/ios-deploy'<br>
    npm ERR! enoent This is most likely not a problem with npm itself<br>
    npm ERR! enoent and is related to npm not being able to find a file.<br>
    npm ERR! enoent<br>
    npm ERR! Please include the following file with any support request:<br>
    npm ERR!     /Users/Yong/npm-debug.log</p>
  </blockquote>
  
  <p>Could anyone give me some hints? Thanks!</p>