james$ sudo npm install ios-deploy
npm WARN lifecycle ios-d...@1.9.0~preinstall: cannot run in wd %s %s (wd=%s) ios-d...@1.9.0 ./src/scripts/check_reqs.js && xcodebuild /node_modules/.staging/ios-deploy-943073ee
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "ios-deploy"
npm ERR! node v7.3.0
npm ERR! npm v3.10.10
npm ERR! path /node_modules/ios-deploy/build/Release/ios-deploy
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/node_modules/ios-deploy/build/Release/ios-deploy'
npm ERR! enoent ENOENT: no such file or directory, chmod '/node_modules/ios-deploy/build/Release/ios-deploy'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /npm-debug.log
--unsafe-perm=true
flag when installing ios-deploy--allow-root
flag when installing ios-deploynobody
user has write access to /usr/local/lib/node_modules/ios-deploy/ios-deploy