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

nvm does not work correctly on armv7l #678

Closed
chenghung opened this issue Feb 26, 2015 · 2 comments
Closed

nvm does not work correctly on armv7l #678

chenghung opened this issue Feb 26, 2015 · 2 comments
Labels
installing node Issues with installing node/io.js versions.

Comments

@chenghung
Copy link

I need to patch nvm.sh

case "$NVM_UNAME" in
  *x86_64*) NVM_ARCH=x64 ;;
  *i*86*) NVM_ARCH=x86 ;;
  *armv6l*) NVM_ARCH=arm-pi ;;
  *armv7l*) NVM_ARCH=arm-pi ;;    # patched here
  *) NVM_ARCH="$(uname -m)" ;;
esac
@ljharb
Copy link
Member

ljharb commented Feb 26, 2015

You can do *armv61* | *armv71* if it's the same architecture.

Does that work equally well on all node and io.js versions? I'll happily accept a PR :-)

@ljharb ljharb added the installing node Issues with installing node/io.js versions. label Feb 26, 2015
@sayanee
Copy link
Contributor

sayanee commented Feb 27, 2015

There are actually separate builds for armv6l and armv7l here in io.js v1.3.0 because they are different architectures.

ljharb added a commit that referenced this issue Mar 2, 2015
fix: download url for iojs armv6l and armv7l. #678 #227
@ljharb ljharb closed this as completed Mar 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installing node Issues with installing node/io.js versions.
Projects
None yet
Development

No branches or pull requests

3 participants