В общем пока вроде помогло это:
wget http://node-arm.herokuapp.com/node_latest_armhf.deb
dpkg -i node_latest_armhf.deb
npm install -g node-gyp
sudo npm install --unsafe-perm serialport
Потом:
sudo apt-get install build-essential libavahi-compat-libdnssd-dev libdevice-serialport-perl
Потом уже установка.
Но ошибки есть:
root@stand:/opt/iobroker# sudo npm install iobroker --unsafe-perm
/
> iobroker@1.0.2 install /opt/iobroker/node_modules/iobroker
> node lib/setup.js
npm install iobroker.discovery --production --prefix /opt/iobroker
node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v46-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@4.2.1 (node-v46 ABI) (falling back to source compile with node-gyp)
npm install iobroker.admin --production --prefix /opt/iobroker
npm WARN engine hawk@6.0.2: wanted: {"node":">=4.5.0"} (current: {"node":"4.2.1","npm":"2.14.7"})
npm install iobroker.js-controller --production --prefix /opt/iobroker
npm WARN deprecated tar.gz@1.0.7: ⚠️ WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
npm WARN deprecated localhost.daplie.me-certificates@1.3.5: this package has been deprecated
npm WARN engine hawk@6.0.2: wanted: {"node":">=4.5.0"} (current: {"node":"4.2.1","npm":"2.14.7"})
Write "./iobroker start" to start the ioBroker
/usr/bin/env: «node\r»: Нет такого файла или каталога
Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start
iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
iobroker@1.0.2 node_modules/iobroker
└── yargs@7.1.0 (get-caller-file@1.0.2, set-blocking@2.0.0, y18n@3.2.1, decamelize@1.2.0, camelcase@3.0.0, which-module@1.0.0, yargs-parser@5.0.0, require-main-filename@1.0.1, require-directory@2.1.1, string-width@1.0.2, cliui@3.2.0, os-locale@1.4.0, read-pkg-up@1.0.1)