Skip to content

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