orktes / atom-react

ReactJS Support for atom (syntax, snippets)
http://orktes.github.io/atom-react/
MIT License
476 stars 80 forks source link

can not update #141

Open superlin opened 8 years ago

superlin commented 8 years ago

I got the error blow when updating atom-react, and the version of my Atom is 1.4.0.

npm WARN addRemoteGit git+https://github.com/millermedeiros/rocambole.git#1bd5044df1d6c888a1bd1b511158fb34b011e9aa resetting remote /Users/superlin/.atom/.apm/_git-remotes/https-github-com-millermedeiros-rocambole-git-fa28ae6f because of error: Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
npm ERR! git clone --template=/Users/superlin/.atom/.apm/_git-remotes/_templates --mirror https://github.com/millermedeiros/rocambole.git /Users/superlin/.atom/.apm/_git-remotes/https-github-com-millermedeiros-rocambole-git-fa28ae6f: Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
npm ERR! Darwin 15.4.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/superlin/.atom/.apm/.apmrc" "--userconfig" "/Users/superlin/.atom/.apmrc" "install" "/private/var/folders/mk/l3ytycgn7vn6l0xw7jwwzc4c0000gn/T/d-116022-872-1l1x8x5/package.tgz" "--target=0.34.5" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code 69
npm ERR! Command failed: 
npm ERR! 
npm ERR! Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
npm ERR! 
npm ERR! 
npm ERR! 
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /private/var/folders/mk/l3ytycgn7vn6l0xw7jwwzc4c0000gn/T/apm-install-dir-116022-872-2npov6/npm-debug.log
Lemonaut commented 8 years ago

having the same issue. using atom 1.6.2

ljovanovic commented 8 years ago

I just received this when attempting to update to 0.16.1. Any ideas on how to fix?