-
-
Notifications
You must be signed in to change notification settings - Fork 112
Raspberry PI2 and PI3 hints
Klaus Landsdorf edited this page Jan 21, 2017
·
2 revisions
tested on ubuntu mate 16.04 LTS nodejs was 6.9.4
also tested on raspbian jessy pixel - nodejs was 0.10.x
recommendation on v0.11+ use >=4.7 and <=6.9.2
sudo npm cache clean -f
sudo npm install -g n
sudo n 6.9.2
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
with NPM
sudo npm install -g nodejs
without NPM
sudo apt-get install nodejs
or sudo apt install nodejs
see Node-RED installation guide
sudo reboot
node -v
(should show >=4.7.0 or <=6.9.2)
sudo npm install -g node-red-contrib-modbus --unsafe-perm --build-from-source
sudo npm install -g node-red-node-data-generator --unsafe-perm --build-from-source