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

Fix extraction command in claim page #16

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Conversation

BentoumiTech
Copy link

Running tar xvf hs* returns the following errors when multiple files are targeted :

tar: hs-client-0.0.9.tar.gz: Not found in archive
tar: hsd-2.4.0.tar.gz: Not found in archive
tar: Error exit delayed from previous errors.

It works if it's switched to ls hs*.gz |xargs -n1 tar -xzf

More info: https://stackoverflow.com/a/16933431/2092619

Running `tar xvf hs*` returns the following errors when multiple files are targeted :

```
tar: hs-client-0.0.9.tar.gz: Not found in archive
tar: hsd-2.4.0.tar.gz: Not found in archive
tar: Error exit delayed from previous errors.
```

It works if it's switched to `ls hs*.gz |xargs -n1 tar -xzf`

More info: https://stackoverflow.com/a/16933431/2092619
@BentoumiTech
Copy link
Author

Also both times when using npm install --production it returned that modules were not found, I remove package-lock.json and node-modules and ran npm install to have it working

@pinheadmz
Copy link
Member

Thanks @BentoumiTech good catch. As for the installation step, I notice that the tarball has hard-coded node_modules already, which would mean that npm install isn't what we want to do, but instead run npm rebuild. The install command will see that everything is there already and exit, however rebuild will force npm to compile the native code addons like levelDB, and I believe these are the dependencies that are missing when you try to run.

Can you confirm this for me on your system and if you agree, add it to this PR?
Thanks for contirbuting!

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

Successfully merging this pull request may close these issues.

2 participants