Comments (23)
The instructions supplied by @rvagg don't seem to work on a full Jessie build as opposed to the light version working as reported by @aburgd.
Also, @dmiddlecamp, I'm presumably being stupid, but how did you install from that tarball? The readme says to do ./configure, but there is no configure or makefile or anything :s
Edit: Oh, that was a stupid question :) just needs putting into /usr/local. For anyone else that this might be helpful for,
wget http://nodejs.org/dist/v4.2.4/node-v4.2.4-linux-armv6l.tar.gz
cd usr/local
sudo tar xzvf ~/node-v4.2.4-linux-armv6l.tar.gz --strip=1
This goes and gets node v4.2.4 using wget and puts it in the home folder, changes to usr/local where we want to put node so we can call it from the command line using "node", and then uncompresses the archive. The strip command is to stop it from being uncompresses into a folder called "node-v4.2.4-linux-armv6l.tar.gz".
from distributions.
By the way, Adafruit has their own builds for Node.js. See: https://learn.adafruit.com/node-embedded-development/installing-node-dot-js
from distributions.
Unfortunately this is because RaspPi is ARMv6 while the 'armhf' Debian distro is for ARMv7 and above. We need to have an arch check in the setup script to make sure this is stated at install time.
What we probably need to do is have a separate Raspbian-compatible build for RPI, it's not straight-forward unfortunately but we'll look in to it.
from distributions.
@rvagg thanks, let me know if there's anything I can help out with.
from distributions.
Hey @rvagg, I'm having the same segfault problem. Thanks for working on this
from distributions.
Same problem here, crashing at least up to 0.11.14-1nodesource1~wheezy1
Could we get a more current build of 0.11 that contains the fix mentioned in #44?
from distributions.
@andig
For now I've fixed the problem by compiling node from source. Just change the numbers to the version you want.
http://shapeshed.com/compiling-nodejs-from-source-on-ubuntu-10-04/
from distributions.
just to remind - the problem is still here
from distributions.
I don't believe we can build armv6 binaries through our standard deb builder setup but it might be practical to maintain a completely separate channel for raspbian.
To try out a test setup I've made, remove the nodesource entries from /etc/apt/sources.list
and do the following:
sudo apt-get remove nodejs
sudo su -c 'echo "deb https://deb.nodesource.com/armv6l-node/ weezy main" >> /etc/apt/sources.list'
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-get install nodejs
Don't count on this working forever, I'll need to discuss this with @chrislea and make sure we can keep things consistent.
If it stops working, come back here and chat.
from distributions.
thanks
from distributions.
@rvagg thanks! Works on my RPi!
Will the instructions be added to the nodesource/distributons read me or Installing Node.js via package manager wiki page?
from distributions.
@sandeepmistry it'll be bundled into the setup script for all .deb-based distributions so you'll run the standard command used by ubuntu and debian (listed on that page and in the README of this repo). I just need to make some changes and test. It'll have to do a uname -a
to find armv6l
to differentiate it from vanilla weezy
which is the problem now (i.e. no differentiation).
from distributions.
Doesn't work for me. @rvagg, Any other solution now?
from distributions.
@enzanki-ars Node works fine on Adafruit's repo, but do you know if they have anything for npm?
from distributions.
When you install node from adafruit, it also installs npm.
from distributions.
I got the same problem due to follow the instruction
by DougieLawson ยป Wed Mar 04, 2015 6:50 pm
On a Raspberry Pi 2B use
curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install -y build-essential python-dev python-rpi.gpio nodejs
from distributions.
Just a note here, if you're looking for good binaries for armv6 platforms, io.js comes with binaries that are now built on wheezy: https://iojs.org/dist/latest/
from distributions.
Thanks.
On Sat, Jul 4, 2015 at 6:59 AM, Rod Vagg [email protected] wrote:
Just a note here, if you're looking for good binaries for armv6 platforms,
io.js comes with binaries that are now built on wheezy:
https://iojs.org/dist/latest/โ
Reply to this email directly or view it on GitHub
#44 (comment)
.
from distributions.
just hit this again... from instructions here trying to install 4.x - https://nodejs.org/en/download/package-manager/
from distributions.
Please look here at the bottom. We don't currently support ARM builds on old Debian / Ubuntu distros due to compiler toolchain issues.
from distributions.
I was using the latest Jessie raspbian on a Pi B+ v1.2 when I hit the segfault issue:
Fixed by grabbing https://nodejs.org/dist/v4.2.3/node-v4.2.3-linux-armv6l.tar.gz
from distributions.
Using the source that @rvagg posted worked for me on DietPi Jessie, FWIW
from distributions.
@dmiddlecamp thanks ๐
from distributions.
Related Issues (20)
- [ERROR] Node.js 20 on Debian buster armv7 fails to run HOT 1
- [ERROR] Node.js 16 on Ubuntu16.04 Installation fails HOT 1
- [ERROR] Node.js 18 on CentOS 7 fails: Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) HOT 3
- [ERROR] Not possible to create apt repo mirror using JFrog artifactory or GCP Artifact Registry HOT 9
- [ERROR] Node.js 20.11.1 on RPM Installation fail HOT 4
- [ERROR] Node.js 9 on Centos/RHEL/EL8 Installation fail HOT 1
- [ERROR] Node.js 20 on Ubuntu 22.04 Installation fail HOT 1
- [ERROR] Node.js 20 on Ubuntu22 Installation fail HOT 5
- Missing RPM-Packages in Official nodesource-repository - nodejs 18.19.0 / 18.19.1 HOT 1
- [ERROR] Node.js 21 on Ubuntu22.04.4 Docker Installation fail HOT 8
- [ERROR] Node.js 21.X on Debian12 Installation fail HOT 1
- [ERROR] All request to deb.nodesource.com return 403 HOT 3
- [ERROR] Node.js XX on UbuntuXX Installation fail
- [ERROR] Node.js 20 on Ubuntu20.04 Installation fail HOT 1
- [ERROR] npm unavailable after installing on python:3.11-slim-bookworm docker image HOT 4
- [ERROR] Node.js 20 on RHEL9 Installation fail HOT 3
- [ERROR] Node.js 20.9.0 or any version lower than 20.12.0 on Ubuntu20.04 Installation fails HOT 2
- Install instructions fail confusingly if curl fails HOT 4
- [ERROR] Node.js 20 on Ubuntu20.04 Installation fail with non-default umask
- [REQUEST] Bring node.js v20 up to date with the release of nodejs LTS v20.12.21 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distributions.