lcoin
lcoin copied to clipboard
warning: remote HEAD refers to nonexistent ref, unable to checkout.

When i git clone, i am getting this error. for Lcoin.
When you clone a repo, the default branch is master but it doesn't exist on that repo. You can select the litecoin branch using git clone http://github.com/bcoin-org/lcoin.git --branch litecoin in the mean time before a master branch exists...
Also, if you only want to install lcoin, you don't need to clone the source, just npm install -g lcoin --production as long as you have already installed all dependencies.
Awesome. can you please help me with another issue?
murali@server:~/lcoin$ lcoin
[info] (chain) Chain is loading.
[info] (chain) Checkpoints are enabled.
[info] (chain) Coin cache is enabled.
[info] (chaindb) Opening ChainDB...
[error] (node) IO error: lock /home/murali/.lcoin/chain.ldb/LOCK: Resource temporarily unavailable
/home/murali/lcoin/lib/utils/co.js:345
throw err;
^
Error: IO error: lock /home/murali/.lcoin/chain.ldb/LOCK: Resource temporarily u navailable
at Error (native)
murali@server:~/lcoin$
```
`
Look like your node can't attain an actual lock on the leveldb directory. I'd try to delete the database and ensure the lcoin has the necessary permission needed to write there and restart.
If it still happen starting from scratch with correct permission, I'd raise another issue specific to this.
This issue was solved, should be closed now.
Still fail here. Default branch still inexistant and instruction not updated to include --branch switch. Yes, it's only a warning but that git command clone an empty repo.
@checksum0 do you think adding --branch litecoin to the readme could solve the issue? I can submit a PR updating the readme.
Submitted https://github.com/bcoin-org/lcoin/pull/9