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

Installer outdated and fails on Raspbian Buster #347

Open
jason0031 opened this issue Jul 10, 2020 · 2 comments
Open

Installer outdated and fails on Raspbian Buster #347

jason0031 opened this issue Jul 10, 2020 · 2 comments

Comments

@jason0031
Copy link

On a Raspberry Pi 2B with Raspbian Buster I tried to installer:

curl https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/master/scripts/install.sh | sudo sh`

After getting a warning "Node.js 8.x LTS Carbon is no longer actively supported!" the installer continues but will fail with:

sh: 68: npm: not found

The installer script is outdated and fails.

@ThibaultNocchi
Copy link

ThibaultNocchi commented Jul 10, 2020

Node isn't being installed as the script is trying to installed an outdated version. Maybe download the install script, replace the line:

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

by

curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -

and run it with sudo.

@SpacerDave
Copy link

SpacerDave commented Jan 20, 2021

Thanks for suggestion above. I've tried to install WebIDE using the standard link to 'install.sh' as described in the documentation. I'm running 'buster' and also found the 'sh: 68: npm: not found' issue. I copied the install.sh script and changed the 'setup_8.x' to 'setup_12.x' as suggested. Saved it and chmod +x and ran via command 'sudo bash install.sh'. During Node.js install, I get the error listed below and it crashes. Any further suggestions? Should I install/revert to 'Jessie' or 'Stretch'? This used to run on my Pi 3B, but this was back in 2017 and I was likely running Jessie at the time.

Confirming "buster" is supported...

Your distribution, identified as "buster", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support

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

3 participants