Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning: remote HEAD refers to nonexistent ref, unable to checkout. #3

Open
geekz opened this issue Jun 28, 2017 · 7 comments
Open

Comments

@geekz
Copy link

geekz commented Jun 28, 2017

lcoingitissue

When i git clone, i am getting this error. for Lcoin.

@checksum0
Copy link

checksum0 commented Jun 28, 2017

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.

@geekz
Copy link
Author

geekz commented Jun 28, 2017

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$
```
`

@checksum0
Copy link

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.

@cronopio
Copy link

cronopio commented Oct 4, 2017

This issue was solved, should be closed now.

@checksum0
Copy link

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.

lcoin

@cronopio
Copy link

cronopio commented Oct 6, 2017

@checksum0 do you think adding --branch litecoin to the readme could solve the issue? I can submit a PR updating the readme.

cronopio added a commit to cronopio/lcoin that referenced this issue Oct 6, 2017
@cronopio
Copy link

cronopio commented Oct 6, 2017

Submitted #9

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

No branches or pull requests

3 participants