Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Errors on Raspberry Pi #149

Open
nayrangnu opened this Issue · 5 comments

4 participants

@nayrangnu

I was getting Error: invalid version [version] for every version I tried on my RPi. By checking the tarball urls, then checking the nodejs repo (http://nodejs.org/dist/) I realized that not every version of node has a corresponding -linux-arm-pi version. Instead of 0.10.20, 0.10.17 worked (this appears to be the latest version with a -linux-arm-pi version). Should there be a more robust error message for pi users?
It is also an issue that the script uses #!/usr/bin/env sh instead of #!/bin/bash, as the read command (used for the version selection interface) throws fatal errors.

@tjwebb
Collaborator

n-rpi would be a great fork :)

It is also an issue that the script uses #!/usr/bin/env sh instead of #!/bin/bash, as the read command (used for the version selection interface) throws fatal errors.

Current implementation is correct. You could try #!/usr/bin/env bash if your sh is not compatible.

@vicary

I am having the same error, and thanks @nayrangnu for the findings. Using 0.10.17 at the moment.

:+1: for a more meaningful error message.

@tjwebb
Collaborator

What is the output of process.arch on a pi?

@tjwebb tjwebb added the limitation label
@grigio

@tjwebb

> process.arch
'arm'
@grigio

@nayrangnu there is also node-v0.10.28-linux-arm-pi.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.