You are not logged in.
Pages: 1
I want to install node-red on devuan.
I got this error wen after installing npm
/usr/local/lib/node_modules/npm/lib/config/cmd-list.js:113
module.exports.aliases = Object.assign({}, shorthands, affordances)
^
TypeError: Object function Object() { [native code] } has no method 'assign'
at Object.<anonymous> (/usr/local/lib/node_modules/npm/lib/config/cmd-list.js:113:33)
It is a problem that also occurs on debian systems and seems related to an old npm package.
Any idea's?
BTW I got node-red running on devuan amd64
Offline
Droidus wrote
It is a problem that also occurs on debian systems and seems related to an old npm package.
are you refering to npm being old - or npm trying to load an old package
BTW I just got this from Random Nerd Tutorials re: NodeRed on a TI/Debian OS
http://mail.ruisantos.me//l/9JUSgyP9C4V … 892763GBJA
'
I thought the rPi was 32bit -- ohh, the new one is 64bit !!
Last edited by garyz.dev1 (2017-08-23 20:20:51)
Offline
I think npm is old. There are some workarounds to be found but they refer to deb packages, which involve systemd. I can try them out if they run on devuan.
Yes node-red i preinstalled on the new raspbian distributions.
Offline
Got this response when i tried
sudo curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
## You appear to be running on ARMv6 hardware. Unfortunately this is not currently supported by the NodeSource Linux distributions. Please use the 'linux-armv6l' binary tarballs available directly from nodejs.org for Node.js v4 and later.
Using binairy tarballs, or building it myself...
Offline
Offline
So far I got this lead from a friend:
https://raspberrypi.stackexchange.com/q … spberry-pi
I did no get it working yet. Tomorrow I will start with a clean image.
And I will try out dowse on a pi3. I saw a template of dowse in node red somewhere in a presentation.
Last edited by Droidus (2017-08-23 22:56:50)
Offline
node.js still not working:
followed this procedure:
cd ~
wget https://nodejs.org/dist/v6.2.1/node-v6.2.1-linux-armv6l.tar.gz
tar -xzf node-v6.2.1-linux-armv6l.tar.gz
node-v6.2.1-linux-armv6l/bin/node -v
node is unpacked but not executable somehow.
I will to try it to build it on the raspberry itself (And take the kids out surfing in the meanwhile)
https://github.com/nodejs/node/blob/mas … -platforms
Offline
Problem is that devuan does not have a virtual machine in its repository, Then I have to run a virtual machine in Debian.
Another problem - to compile node.js GCC 4.9.4 or higher is needed. The latest version in the devuan repository is 4.9.2.
I remember making my own packages in Slackware a long time ago, but this process with devuan is getting complicated.
Offline
There is aqemu on the devuan repositories, I've not tried it yet, and how about a trial copy of vmware workstation if you haven't burned this card already.
The reason I mentioned arch is that package managers like yaourt you click on an Aur package that is always source, no binary, and it installs together with any dependencies missing. http://archlinuxarm.org/platforms/armv6/raspberry-pi
I am sure if arch is running on arm6 artix, arch-nosystemd, and manjaro-openrc all will run. Artix is the evolution of the other two that are now abandoned.
Offline
Pages: 1