orbitdb-archive / orbit

A distributed, serverless, peer-to-peer chat application on IPFS
MIT License
1.64k stars 117 forks source link

weird failures on npm install #217

Closed whyrusleeping closed 7 years ago

whyrusleeping commented 7 years ago

Just pulled and tried to install the latest code, was presented with some odd errors:

whyrusleeping@aredhel ~/c/orbit (master)> gpom
From https://github.com/haadcode/orbit
 * branch            master     -> FETCH_HEAD
Already up-to-date.
whyrusleeping@aredhel ~/c/orbit (master)> rm -rf node_modules/
whyrusleeping@aredhel ~/c/orbit (master)> npm install
npm ERR! git rev-list -n1 32908ae: fatal: ambiguous argument '32908ae': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 32908ae: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 32908ae: 'git <command> [<revision>...] -- [<file>...]'
npm ERR! git rev-list -n1 32908ae:
npm ERR! git rev-list -n1 32908ae: fatal: ambiguous argument '32908ae': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 32908ae: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 32908ae: 'git <command> [<revision>...] -- [<file>...]'
npm ERR! git rev-list -n1 32908ae:
haadcode commented 7 years ago

This seems to be broken due to squashed commits https://github.com/ipfs/js-ipfs-api/pull/471. I'll try to get this fixed asap.

haadcode commented 7 years ago

This should be fixed now. Thanks for reporting @whyrusleeping!