off-the-rip icon indicating copy to clipboard operation
off-the-rip copied to clipboard

otr fails to install due to git issue

Open barrettford opened this issue 9 years ago • 2 comments

Attempting to install off-the-rip with npm i -g off-the-rip on Mac OS X 10.9.5 fails with the following error:

npm ERR! git rev-list -n1 version-2.0: fatal: ambiguous argument 'version-2.0': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 version-2.0: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 version-2.0: 'git <command> [<revision>...] -- [<file>...]'
npm ERR! git rev-list -n1 version-2.0: 
npm ERR! Darwin 13.4.0
npm ERR! argv "/usr/local/Cellar/node/4.1.1/bin/node" "/usr/local/bin/npm" "i" "-g" "off-the-rip"
npm ERR! node v4.1.1
npm ERR! npm  v2.14.4
npm ERR! code 128

npm ERR! Command failed: git rev-list -n1 version-2.0
npm ERR! fatal: ambiguous argument 'version-2.0': unknown revision or path not in the working tree.
npm ERR! Use '--' to separate paths from revisions, like this:
npm ERR! 'git <command> [<revision>...] -- [<file>...]'
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!     /Users/barrettford/npm-debug.log

The npm-debug.log reveals that git is barfing on your phantomjs dependency (at https://github.com/Medium/phantomjs.git#version-2.0)

243 verbose resolveHead git+https://github.com/Medium/phantomjs.git#version-2.0 original treeish: version-2.0
244 info git [ 'rev-list', '-n1', 'version-2.0' ]
245 error git rev-list -n1 version-2.0: fatal: ambiguous argument 'version-2.0': unknown revision or path not in the working tree.

I know it's out of your hands, just an FYI.

barrettford avatar Oct 04 '15 06:10 barrettford

@barrettford @alexgorbatchev you can use my branch if the author is doesn't have a chance to merge this into master soon

dpastoor avatar Oct 11 '15 16:10 dpastoor

thanks @dpastoor

mdodkins avatar Jan 21 '16 03:01 mdodkins