Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Updating to 1.0.6 Failed #48

Closed
jsejcksn opened this issue Sep 27, 2015 · 4 comments
Closed

Updating to 1.0.6 Failed #48

jsejcksn opened this issue Sep 27, 2015 · 4 comments
Assignees

Comments

@jsejcksn
Copy link

Got this error:

npm WARN addRemoteGit git+https://github.com/AtomLinter/csslint.git resetting remote /Users/username/.atom/.apm/_git-remotes/https-github-com-AtomLinter-csslint-git-d9ec64d1 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/username/.atom/.apm/_git-remotes/_templates --mirror https://github.com/AtomLinter/csslint.git /Users/username/.atom/.apm/_git-remotes/https-github-com-AtomLinter-csslint-git-d9ec64d1: Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
npm ERR! Darwin 14.5.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/username/.atom/.apm/.apmrc" "--userconfig" "/Users/username/.atom/.apmrc" "install" "/private/var/folders/hx/8w56lz5x1_l9wn_yfyt1tsg00000gn/T/d-115826-42805-ofw4p8/package.tgz" "--target=0.30.7" "--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/hx/8w56lz5x1_l9wn_yfyt1tsg00000gn/T/apm-install-dir-115826-42805-k0ca4o/npm-debug.log

The debug log in the last line was not in my filesystem.

@Arcanemagus
Copy link
Member

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

Looks like you are running on a Mac and need to accept the latest Xcode license.

@jsejcksn
Copy link
Author

@Arcanemagus You're right. That did it. I just hadn't launched Xcode since updating it.

Is Xcode a dependency of this package or of Atom?

@Arcanemagus
Copy link
Member

I think on OSX git requires it? I'm not sure as I don't run OSX on any of my machines.

@jsejcksn
Copy link
Author

Ok, thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants