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

Linux on DeX support #141

Closed
wilmarques opened this issue Oct 3, 2019 · 5 comments
Closed

Linux on DeX support #141

wilmarques opened this issue Oct 3, 2019 · 5 comments

Comments

@wilmarques
Copy link
Contributor

I'm trying to setup a development environment using Linux on Dex but I can't install NVS on it.

This is the error I'm facing:

SmartSelect_20191003-162910_Linux on DeX Beta

In text mode:

Downloading bootstrap node from https://nodejs.org/dist/v10.12.0/node-v10.12.0-linux-aarch64.tar.xz                                 
###################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################### 100.0%                                                     
Failed to setup node binary.

The first two steps works correctly, as expected.

@jasongin
Copy link
Owner

jasongin commented Oct 4, 2019

Based on the output, I think the tar command failed to extract the downloaded archive. Try running this command manually, and you'll probably see a more specific error message:

tar -Jxvf "$NVS_HOME/cache/node-v10.12.0-linux-aarch64.tar.xz" -C "$NVS_HOME/cache" "node-v10.12.0-linux-aarch64/bin/node"

@wilmarques
Copy link
Contributor Author

Just tried and this is the output:

xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now

@wilmarques
Copy link
Contributor Author

wilmarques commented Oct 4, 2019

This is the url NVS is trying to download node:

https://nodejs.org/dist/v10.12.0/node-v10.12.0-linux-aarch64.tar.xz

It seems the system arch wasn't corectly recognized:

linux-aarch64

@wilmarques
Copy link
Contributor Author

Well, itsn't incorrect, but aarch64 should be treated as arm64.

I'll try to place a PR.

@wilmarques
Copy link
Contributor Author

Closing, as PR is merged

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

2 participants