steelbrain / linter

A Base Linter with Cow Powers http://steelbrain.me/linter/
MIT License
1.1k stars 178 forks source link

Updating to 0.7.3 fails #226

Closed tophattom closed 10 years ago

tophattom commented 10 years ago

Updating from 0.7.0 to 0.7.3 fails with the following output. Atom version 0.132.0 (although this happened in previous two versions also, I think). OS X 10.9.5

npm http GET https://registry.npmjs.org/chai
npm http GET https://registry.npmjs.org/emissary
npm http GET https://registry.npmjs.org/jshint
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/shelljs
npm http GET https://registry.npmjs.org/xregexp/2.0.0
npm http GET https://registry.npmjs.org/sinon
npm http GET https://registry.npmjs.org/temp
npm http 304 https://registry.npmjs.org/jshint
npm http 304 https://registry.npmjs.org/rimraf
npm http 304 https://registry.npmjs.org/shelljs
npm http 304 https://registry.npmjs.org/xregexp/2.0.0
npm http 200 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/temp
npm http 304 https://registry.npmjs.org/emissary
npm http 304 https://registry.npmjs.org/chai
npm http 200 https://registry.npmjs.org/sinon
npm http GET https://registry.npmjs.org/underscore-plus
npm http GET https://registry.npmjs.org/mixto
npm http GET https://registry.npmjs.org/property-accessors
npm http GET https://registry.npmjs.org/assertion-error/1.0.0
npm http GET https://registry.npmjs.org/deep-eql/0.1.3
npm WARN `git config --get remote.origin.url` returned wrong result (https://github.com/Benvie/harmony-collections.git) Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
npm ERR! git clone https://github.com/Benvie/harmony-collections.git Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/cli
npm http GET https://registry.npmjs.org/htmlparser2
npm http GET https://registry.npmjs.org/console-browserify
npm http GET https://registry.npmjs.org/exit
npm http GET https://registry.npmjs.org/strip-json-comments
npm ERR! Error: ENOENT, lstat '/private/var/folders/qx/flpkxlh14mzfnp_0yb7wbmlr0000gn/T/apm-install-dir-114828-7046-15sip2t/node_modules/linter/node_modules/sinon/test/sinon/match_test.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Darwin 13.4.0
npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "--userconfig" "/Users/jaakko/.atom/.apmrc" "install" "/Users/jaakko/.atom/.node-gyp/.atom/.apm/linter/0.7.3/package.tgz" "--target=0.16.0" "--arch=x64"
npm ERR! cwd /private/var/folders/qx/flpkxlh14mzfnp_0yb7wbmlr0000gn/T/apm-install-dir-114828-7046-15sip2t
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.4
npm ERR! path /private/var/folders/qx/flpkxlh14mzfnp_0yb7wbmlr0000gn/T/apm-install-dir-114828-7046-15sip2t/node_modules/linter/node_modules/sinon/test/sinon/match_test.js
npm ERR! fstream_path /private/var/folders/qx/flpkxlh14mzfnp_0yb7wbmlr0000gn/T/apm-install-dir-114828-7046-15sip2t/node_modules/linter/node_modules/sinon/test/sinon/match_test.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: 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!     at ChildProcess.exithandler (child_process.js:648:15)
npm ERR!     at ChildProcess.emit (events.js:98:17)
npm ERR!     at maybeClose (child_process.js:756:16)
npm ERR!     at Socket.<anonymous> (child_process.js:969:11)
npm ERR!     at Socket.emit (events.js:95:17)
npm ERR!     at Pipe.close (net.js:465:12)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Darwin 13.4.0
npm ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "--userconfig" "/Users/jaakko/.atom/.apmrc" "install" "/Users/jaakko/.atom/.node-gyp/.atom/.apm/linter/0.7.3/package.tgz" "--target=0.16.0" "--arch=x64"
npm ERR! cwd /private/var/folders/qx/flpkxlh14mzfnp_0yb7wbmlr0000gn/T/apm-install-dir-114828-7046-15sip2t
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.4
npm ERR! code 69
npm http 304 https://registry.npmjs.org/underscore-plus
npm http 304 https://registry.npmjs.org/property-accessors
npm http 200 https://registry.npmjs.org/underscore
npm http 200 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/assertion-error/1.0.0
npm http 304 https://registry.npmjs.org/deep-eql/0.1.3
npm http GET https://registry.npmjs.org/type-detect/0.1.1
npm http 304 https://registry.npmjs.org/mixto
npm http 200 https://registry.npmjs.org/cli
npm http 200 https://registry.npmjs.org/console-browserify
npm http 200 https://registry.npmjs.org/exit
npm http 200 https://registry.npmjs.org/strip-json-comments
npm http 200 https://registry.npmjs.org/htmlparser2
npm http GET https://registry.npmjs.org/date-now
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/domhandler
npm http GET https://registry.npmjs.org/domutils
npm http 304 https://registry.npmjs.org/type-detect/0.1.1
npm http GET https://registry.npmjs.org/domelementtype
npm http GET https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/entities
npm http 200 https://registry.npmjs.org/domhandler
npm http 200 https://registry.npmjs.org/date-now
npm http 200 https://registry.npmjs.org/domutils
npm http 200 https://registry.npmjs.org/sigmund
npm http 200 https://registry.npmjs.org/domelementtype
npm http 200 https://registry.npmjs.org/entities
npm http 200 https://registry.npmjs.org/lru-cache
npm http 200 https://registry.npmjs.org/readable-stream
npm http 200 https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/isarray/0.0.1
npm http GET https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/inherits
npm http 200 https://registry.npmjs.org/isarray/0.0.1
npm http GET https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz
npm http 200 https://registry.npmjs.org/inherits
npm http 200 https://registry.npmjs.org/inherits
npm http 200 https://registry.npmjs.org/core-util-is
npm http 200 https://registry.npmjs.org/string_decoder
npm http 200 https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /private/var/folders/qx/flpkxlh14mzfnp_0yb7wbmlr0000gn/T/apm-install-dir-114828-7046-15sip2t/npm-debug.log
npm ERR! not ok code 0
dmnd commented 10 years ago

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

This looks like your problem. If you have Xcode installed, just run it and it will prompt you to agree. If you don't have it installed I think you can find a way to solve this issue on Google.

tophattom commented 10 years ago

Oh, completely missed that. Problem now solved, thanks!