Erics-iMac:~ es$ ssh pi@raspberrypi2.local pi@raspberrypi2.local's password: The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sun Jan 8 20:00:20 2017 from fe80::469:a0c5:6aa7:54e%eth0 pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ sudo apt-get install node Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: ax25-node libax25 libfile-copy-recursive-perl openbsd-inetd update-inetd The following NEW packages will be installed: ax25-node libax25 libfile-copy-recursive-perl node openbsd-inetd update-inetd 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/153 kB of archives. After this operation, 514 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Preconfiguring packages ... Selecting previously unselected package libax25. (Reading database ... 32035 files and directories currently installed.) Preparing to unpack .../libax25_0.0.12-rc2+cvs20120204-3_armhf.deb ... Unpacking libax25 (0.0.12-rc2+cvs20120204-3) ... Selecting previously unselected package libfile-copy-recursive-perl. Preparing to unpack .../libfile-copy-recursive-perl_0.38-1_all.deb ... Unpacking libfile-copy-recursive-perl (0.38-1) ... Selecting previously unselected package update-inetd. Preparing to unpack .../update-inetd_4.43_all.deb ... Unpacking update-inetd (4.43) ... Selecting previously unselected package openbsd-inetd. Preparing to unpack .../openbsd-inetd_0.20140418-2_armhf.deb ... Unpacking openbsd-inetd (0.20140418-2) ... Selecting previously unselected package ax25-node. Preparing to unpack .../ax25-node_0.3.2-7.4_armhf.deb ... Unpacking ax25-node (0.3.2-7.4) ... Selecting previously unselected package node. Preparing to unpack .../node_0.3.2-7.4_all.deb ... Unpacking node (0.3.2-7.4) ... Processing triggers for man-db (2.7.0.2-5) ... Processing triggers for systemd (215-17+deb8u5) ... Setting up libax25 (0.0.12-rc2+cvs20120204-3) ... Setting up libfile-copy-recursive-perl (0.38-1) ... Setting up update-inetd (4.43) ... Setting up openbsd-inetd (0.20140418-2) ... Setting up ax25-node (0.3.2-7.4) ... Setting up node (0.3.2-7.4) ... Processing triggers for libc-bin (2.19-18+deb8u6) ... pi@raspberrypi2:~ $ sudo apt-get install npm Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: gyp javascript-common libc-ares-dev libc-ares2 libjs-jquery libjs-node-uuid libjs-underscore libssl-dev libssl-doc libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-ansi-color-table node-archy node-async node-block-stream node-combined-stream node-cookie-jar node-delayed-stream node-forever-agent node-form-data node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt node-normalize-package-data node-npmlog node-once node-osenv node-qs node-read node-read-package-json node-request node-retry node-rimraf node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent node-underscore node-which nodejs nodejs-dev python-pkg-resources Suggested packages: apache2 lighttpd httpd node-hawk node-aws-sign node-oauth-sign node-http-signature python-distribute python-distribute-doc The following NEW packages will be installed: gyp javascript-common libc-ares-dev libc-ares2 libjs-jquery libjs-node-uuid libjs-underscore libssl-dev libssl-doc libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-ansi-color-table node-archy node-async node-block-stream node-combined-stream node-cookie-jar node-delayed-stream node-forever-agent node-form-data node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt node-normalize-package-data node-npmlog node-once node-osenv node-qs node-read node-read-package-json node-request node-retry node-rimraf node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent node-underscore node-which nodejs nodejs-dev npm python-pkg-resources 0 upgraded, 61 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/5,675 kB of archives. After this operation, 20.6 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Extracting templates from packages: 100% Selecting previously unselected package libc-ares2:armhf. (Reading database ... 32116 files and directories currently installed.) Preparing to unpack .../libc-ares2_1.10.0-2+deb8u1_armhf.deb ... Unpacking libc-ares2:armhf (1.10.0-2+deb8u1) ... Selecting previously unselected package python-pkg-resources. Preparing to unpack .../python-pkg-resources_5.5.1-1_all.deb ... Unpacking python-pkg-resources (5.5.1-1) ... Selecting previously unselected package gyp. Preparing to unpack .../gyp_0.1~svn1729-3_all.deb ... Unpacking gyp (0.1~svn1729-3) ... Selecting previously unselected package javascript-common. Preparing to unpack .../javascript-common_11_all.deb ... Unpacking javascript-common (11) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../libjs-jquery_1.7.2+dfsg-3.2_all.deb ... Unpacking libjs-jquery (1.7.2+dfsg-3.2) ... Selecting previously unselected package libjs-node-uuid. Preparing to unpack .../libjs-node-uuid_1.4.0-1_all.deb ... Unpacking libjs-node-uuid (1.4.0-1) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../libjs-underscore_1.7.0~dfsg-1_all.deb ... Unpacking libjs-underscore (1.7.0~dfsg-1) ... Selecting previously unselected package libssl-dev:armhf. Preparing to unpack .../libssl-dev_1.0.1t-1+deb8u5_armhf.deb ... Unpacking libssl-dev:armhf (1.0.1t-1+deb8u5) ... Selecting previously unselected package libssl-doc. Preparing to unpack .../libssl-doc_1.0.1t-1+deb8u5_all.deb ... Unpacking libssl-doc (1.0.1t-1+deb8u5) ... Selecting previously unselected package libv8-3.14.5. Preparing to unpack .../libv8-3.14.5_3.14.5.8-8.1+rpi1_armhf.deb ... Unpacking libv8-3.14.5 (3.14.5.8-8.1+rpi1) ... Selecting previously unselected package libv8-3.14-dev. Preparing to unpack .../libv8-3.14-dev_3.14.5.8-8.1+rpi1_armhf.deb ... Unpacking libv8-3.14-dev (3.14.5.8-8.1+rpi1) ... Selecting previously unselected package nodejs. Preparing to unpack .../nodejs_0.10.29~dfsg-2_armhf.deb ... Unpacking nodejs (0.10.29~dfsg-2) ... Selecting previously unselected package node-async. Preparing to unpack .../node-async_0.8.0-1_all.deb ... Unpacking node-async (0.8.0-1) ... Selecting previously unselected package node-node-uuid. Preparing to unpack .../node-node-uuid_1.4.0-1_all.deb ... Unpacking node-node-uuid (1.4.0-1) ... Selecting previously unselected package node-underscore. Preparing to unpack .../node-underscore_1.7.0~dfsg-1_all.deb ... Unpacking node-underscore (1.7.0~dfsg-1) ... Selecting previously unselected package libc-ares-dev:armhf. Preparing to unpack .../libc-ares-dev_1.10.0-2+deb8u1_armhf.deb ... Unpacking libc-ares-dev:armhf (1.10.0-2+deb8u1) ... Selecting previously unselected package node-abbrev. Preparing to unpack .../node-abbrev_1.0.5-2_all.deb ... Unpacking node-abbrev (1.0.5-2) ... Selecting previously unselected package node-ansi. Preparing to unpack .../node-ansi_0.3.0-2_all.deb ... Unpacking node-ansi (0.3.0-2) ... Selecting previously unselected package node-ansi-color-table. Preparing to unpack .../node-ansi-color-table_1.0.0-1_all.deb ... Unpacking node-ansi-color-table (1.0.0-1) ... Selecting previously unselected package node-archy. Preparing to unpack .../node-archy_0.0.2-1_all.deb ... Unpacking node-archy (0.0.2-1) ... Selecting previously unselected package node-inherits. Preparing to unpack .../node-inherits_2.0.1-1_all.deb ... Unpacking node-inherits (2.0.1-1) ... Selecting previously unselected package node-block-stream. Preparing to unpack .../node-block-stream_0.0.7-1_all.deb ... Unpacking node-block-stream (0.0.7-1) ... Selecting previously unselected package node-delayed-stream. Preparing to unpack .../node-delayed-stream_0.0.5-1_all.deb ... Unpacking node-delayed-stream (0.0.5-1) ... Selecting previously unselected package node-combined-stream. Preparing to unpack .../node-combined-stream_0.0.5-1_all.deb ... Unpacking node-combined-stream (0.0.5-1) ... Selecting previously unselected package node-cookie-jar. Preparing to unpack .../node-cookie-jar_0.3.1-1_all.deb ... Unpacking node-cookie-jar (0.3.1-1) ... Selecting previously unselected package node-forever-agent. Preparing to unpack .../node-forever-agent_0.5.1-1_all.deb ... Unpacking node-forever-agent (0.5.1-1) ... Selecting previously unselected package node-mime. Preparing to unpack .../node-mime_1.2.11-1_all.deb ... Unpacking node-mime (1.2.11-1) ... Selecting previously unselected package node-form-data. Preparing to unpack .../node-form-data_0.1.0-1_all.deb ... Unpacking node-form-data (0.1.0-1) ... Selecting previously unselected package node-rimraf. Preparing to unpack .../node-rimraf_2.2.8-1_all.deb ... Unpacking node-rimraf (2.2.8-1) ... Selecting previously unselected package node-mkdirp. Preparing to unpack .../node-mkdirp_0.5.0-1_all.deb ... Unpacking node-mkdirp (0.5.0-1) ... Selecting previously unselected package node-graceful-fs. Preparing to unpack .../node-graceful-fs_3.0.2-1_all.deb ... Unpacking node-graceful-fs (3.0.2-1) ... Selecting previously unselected package node-fstream. Preparing to unpack .../node-fstream_0.1.24-1_all.deb ... Unpacking node-fstream (0.1.24-1) ... Selecting previously unselected package node-lru-cache. Preparing to unpack .../node-lru-cache_2.3.1-1_all.deb ... Unpacking node-lru-cache (2.3.1-1) ... Selecting previously unselected package node-sigmund. Preparing to unpack .../node-sigmund_1.0.0-1_all.deb ... Unpacking node-sigmund (1.0.0-1) ... Selecting previously unselected package node-minimatch. Preparing to unpack .../node-minimatch_1.0.0-1_all.deb ... Unpacking node-minimatch (1.0.0-1) ... Selecting previously unselected package node-fstream-ignore. Preparing to unpack .../node-fstream-ignore_0.0.6-2_all.deb ... Unpacking node-fstream-ignore (0.0.6-2) ... Selecting previously unselected package node-github-url-from-git. Preparing to unpack .../node-github-url-from-git_1.1.1-1_all.deb ... Unpacking node-github-url-from-git (1.1.1-1) ... Selecting previously unselected package node-once. Preparing to unpack .../node-once_1.1.1-1_all.deb ... Unpacking node-once (1.1.1-1) ... Selecting previously unselected package node-glob. Preparing to unpack .../node-glob_4.0.5-1_all.deb ... Unpacking node-glob (4.0.5-1) ... Selecting previously unselected package nodejs-dev. Preparing to unpack .../nodejs-dev_0.10.29~dfsg-2_armhf.deb ... Unpacking nodejs-dev (0.10.29~dfsg-2) ... Selecting previously unselected package node-nopt. Preparing to unpack .../node-nopt_3.0.1-1_all.deb ... Unpacking node-nopt (3.0.1-1) ... Selecting previously unselected package node-npmlog. Preparing to unpack .../node-npmlog_0.0.4-1_all.deb ... Unpacking node-npmlog (0.0.4-1) ... Selecting previously unselected package node-osenv. Preparing to unpack .../node-osenv_0.1.0-1_all.deb ... Unpacking node-osenv (0.1.0-1) ... Selecting previously unselected package node-tunnel-agent. Preparing to unpack .../node-tunnel-agent_0.3.1-1_all.deb ... Unpacking node-tunnel-agent (0.3.1-1) ... Selecting previously unselected package node-json-stringify-safe. Preparing to unpack .../node-json-stringify-safe_5.0.0-1_all.deb ... Unpacking node-json-stringify-safe (5.0.0-1) ... Selecting previously unselected package node-qs. Preparing to unpack .../node-qs_2.2.4-1_all.deb ... Unpacking node-qs (2.2.4-1) ... Selecting previously unselected package node-request. Preparing to unpack .../node-request_2.26.1-1_all.deb ... Unpacking node-request (2.26.1-1) ... Selecting previously unselected package node-semver. Preparing to unpack .../node-semver_2.1.0-2_all.deb ... Unpacking node-semver (2.1.0-2) ... Selecting previously unselected package node-tar. Preparing to unpack .../node-tar_0.1.18-1_all.deb ... Unpacking node-tar (0.1.18-1) ... Selecting previously unselected package node-which. Preparing to unpack .../node-which_1.0.5-2_all.deb ... Unpacking node-which (1.0.5-2) ... Selecting previously unselected package node-gyp. Preparing to unpack .../node-gyp_0.12.2+ds-1_all.deb ... Unpacking node-gyp (0.12.2+ds-1) ... Selecting previously unselected package node-ini. Preparing to unpack .../node-ini_1.1.0-1_all.deb ... Unpacking node-ini (1.1.0-1) ... Selecting previously unselected package node-lockfile. Preparing to unpack .../node-lockfile_0.4.1-1_all.deb ... Unpacking node-lockfile (0.4.1-1) ... Selecting previously unselected package node-mute-stream. Preparing to unpack .../node-mute-stream_0.0.4-1_all.deb ... Unpacking node-mute-stream (0.0.4-1) ... Selecting previously unselected package node-normalize-package-data. Preparing to unpack .../node-normalize-package-data_0.2.2-1_all.deb ... Unpacking node-normalize-package-data (0.2.2-1) ... Selecting previously unselected package node-read. Preparing to unpack .../node-read_1.0.5-1_all.deb ... Unpacking node-read (1.0.5-1) ... Selecting previously unselected package node-read-package-json. Preparing to unpack .../node-read-package-json_1.2.4-1_all.deb ... Unpacking node-read-package-json (1.2.4-1) ... Selecting previously unselected package node-retry. Preparing to unpack .../node-retry_0.6.0-1_all.deb ... Unpacking node-retry (0.6.0-1) ... Selecting previously unselected package node-sha. Preparing to unpack .../node-sha_1.2.3-1_all.deb ... Unpacking node-sha (1.2.3-1) ... Selecting previously unselected package node-slide. Preparing to unpack .../node-slide_1.1.4-1_all.deb ... Unpacking node-slide (1.1.4-1) ... Selecting previously unselected package npm. Preparing to unpack .../npm_1.4.21+ds-2_all.deb ... Unpacking npm (1.4.21+ds-2) ... Processing triggers for man-db (2.7.0.2-5) ... Setting up libc-ares2:armhf (1.10.0-2+deb8u1) ... Setting up python-pkg-resources (5.5.1-1) ... Setting up gyp (0.1~svn1729-3) ... Setting up javascript-common (11) ... Setting up libjs-jquery (1.7.2+dfsg-3.2) ... Setting up libjs-node-uuid (1.4.0-1) ... Setting up libjs-underscore (1.7.0~dfsg-1) ... Setting up libssl-dev:armhf (1.0.1t-1+deb8u5) ... Setting up libssl-doc (1.0.1t-1+deb8u5) ... Setting up libv8-3.14.5 (3.14.5.8-8.1+rpi1) ... Setting up libv8-3.14-dev (3.14.5.8-8.1+rpi1) ... Setting up nodejs (0.10.29~dfsg-2) ... update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode Setting up node-async (0.8.0-1) ... Setting up node-node-uuid (1.4.0-1) ... Setting up node-underscore (1.7.0~dfsg-1) ... Setting up libc-ares-dev:armhf (1.10.0-2+deb8u1) ... Setting up node-abbrev (1.0.5-2) ... Setting up node-ansi (0.3.0-2) ... Setting up node-ansi-color-table (1.0.0-1) ... Setting up node-archy (0.0.2-1) ... Setting up node-inherits (2.0.1-1) ... Setting up node-block-stream (0.0.7-1) ... Setting up node-delayed-stream (0.0.5-1) ... Setting up node-combined-stream (0.0.5-1) ... Setting up node-cookie-jar (0.3.1-1) ... Setting up node-forever-agent (0.5.1-1) ... Setting up node-mime (1.2.11-1) ... Setting up node-form-data (0.1.0-1) ... Setting up node-rimraf (2.2.8-1) ... Setting up node-mkdirp (0.5.0-1) ... Setting up node-graceful-fs (3.0.2-1) ... Setting up node-fstream (0.1.24-1) ... Setting up node-lru-cache (2.3.1-1) ... Setting up node-sigmund (1.0.0-1) ... Setting up node-minimatch (1.0.0-1) ... Setting up node-fstream-ignore (0.0.6-2) ... Setting up node-github-url-from-git (1.1.1-1) ... Setting up node-once (1.1.1-1) ... Setting up node-glob (4.0.5-1) ... Setting up nodejs-dev (0.10.29~dfsg-2) ... Setting up node-nopt (3.0.1-1) ... Setting up node-npmlog (0.0.4-1) ... Setting up node-osenv (0.1.0-1) ... Setting up node-tunnel-agent (0.3.1-1) ... Setting up node-json-stringify-safe (5.0.0-1) ... Setting up node-qs (2.2.4-1) ... Setting up node-request (2.26.1-1) ... Setting up node-semver (2.1.0-2) ... Setting up node-tar (0.1.18-1) ... Setting up node-which (1.0.5-2) ... Setting up node-gyp (0.12.2+ds-1) ... Setting up node-ini (1.1.0-1) ... Setting up node-lockfile (0.4.1-1) ... Setting up node-mute-stream (0.0.4-1) ... Setting up node-normalize-package-data (0.2.2-1) ... Setting up node-read (1.0.5-1) ... Setting up node-read-package-json (1.2.4-1) ... Setting up node-retry (0.6.0-1) ... Setting up node-sha (1.2.3-1) ... Setting up node-slide (1.1.4-1) ... Setting up npm (1.4.21+ds-2) ... Processing triggers for libc-bin (2.19-18+deb8u6) ... pi@raspberrypi2:~ $ sudo apt-get install mosquitto Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: mosquitto 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/101 kB of archives. After this operation, 190 kB of additional disk space will be used. Selecting previously unselected package mosquitto. (Reading database ... 35036 files and directories currently installed.) Preparing to unpack .../mosquitto_1.3.4-2_armhf.deb ... Unpacking mosquitto (1.3.4-2) ... Processing triggers for man-db (2.7.0.2-5) ... Processing triggers for systemd (215-17+deb8u5) ... Setting up mosquitto (1.3.4-2) ... Processing triggers for systemd (215-17+deb8u5) ... pi@raspberrypi2:~ $ sudo apt-get install mosquitto-clients Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libmosquitto1 The following NEW packages will be installed: libmosquitto1 mosquitto-clients 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/75.6 kB of archives. After this operation, 138 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Selecting previously unselected package libmosquitto1. (Reading database ... 35066 files and directories currently installed.) Preparing to unpack .../libmosquitto1_1.3.4-2_armhf.deb ... Unpacking libmosquitto1 (1.3.4-2) ... Selecting previously unselected package mosquitto-clients. Preparing to unpack .../mosquitto-clients_1.3.4-2_armhf.deb ... Unpacking mosquitto-clients (1.3.4-2) ... Processing triggers for man-db (2.7.0.2-5) ... Setting up libmosquitto1 (1.3.4-2) ... Setting up mosquitto-clients (1.3.4-2) ... Processing triggers for libc-bin (2.19-18+deb8u6) ... pi@raspberrypi2:~ $ more /etc/mo modprobe.d/ modules modules-load.d/ mosquitto/ motd pi@raspberrypi2:~ $ more /etc/mosquitto/c ca_certificates/ certs/ conf.d/ pi@raspberrypi2:~ $ ls /etc/mosquitto/conf.d/ local.conf README pi@raspberrypi2:~ $ more /etc/mosquitto/conf.d/local.conf allow_anonymous true pi@raspberrypi2:~ $ pwd /home/pi pi@raspberrypi2:~ $ sudo apt-get install node-red Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package node-red pi@raspberrypi2:~ $ sudo apt-get install nodered Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: ax25-node libax25 libfile-copy-recursive-perl openbsd-inetd update-inetd Use 'apt-get autoremove' to remove them. The following extra packages will be installed: nodejs-legacy The following packages will be REMOVED: node The following NEW packages will be installed: nodejs-legacy nodered 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. Need to get 0 B/5,643 kB of archives. After this operation, 101 kB of additional disk space will be used. Do you want to continue? [Y/n] Y (Reading database ... 35080 files and directories currently installed.) Removing node (0.3.2-7.4) ... Processing triggers for man-db (2.7.0.2-5) ... Selecting previously unselected package nodejs-legacy. (Reading database ... 35075 files and directories currently installed.) Preparing to unpack .../nodejs-legacy_0.10.29~dfsg-2_all.deb ... Unpacking nodejs-legacy (0.10.29~dfsg-2) ... Selecting previously unselected package nodered. Preparing to unpack .../nodered_0.15.2_armhf.deb ... Unpacking nodered (0.15.2) ... Processing triggers for man-db (2.7.0.2-5) ... Processing triggers for mime-support (3.58) ... Setting up nodejs-legacy (0.10.29~dfsg-2) ... Setting up nodered (0.15.2) ... pi@raspberrypi2:~ $ sudo apt-get install bluetooth Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: ax25-node libax25 libfile-copy-recursive-perl openbsd-inetd update-inetd Use 'apt-get autoremove' to remove them. The following extra packages will be installed: bluez Suggested packages: bluez-cups bluez-obexd The following NEW packages will be installed: bluetooth bluez 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 595 kB/631 kB of archives. After this operation, 2,721 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://archive.raspberrypi.org/debian/ jessie/main bluez armhf 5.23-2+rpi2 [595 kB] Fetched 595 kB in 2s (265 kB/s) Selecting previously unselected package bluez. (Reading database ... 42862 files and directories currently installed.) Preparing to unpack .../bluez_5.23-2+rpi2_armhf.deb ... Unpacking bluez (5.23-2+rpi2) ... Selecting previously unselected package bluetooth. Preparing to unpack .../bluetooth_5.23-2+rpi2_all.deb ... Unpacking bluetooth (5.23-2+rpi2) ... Processing triggers for systemd (215-17+deb8u5) ... Processing triggers for dbus (1.8.20-0+deb8u1) ... Processing triggers for man-db (2.7.0.2-5) ... Setting up bluez (5.23-2+rpi2) ... Setting up bluetooth (5.23-2+rpi2) ... Processing triggers for dbus (1.8.20-0+deb8u1) ... Processing triggers for systemd (215-17+deb8u5) ... pi@raspberrypi2:~ $ sudo apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: ax25-node libax25 libfile-copy-recursive-perl openbsd-inetd update-inetd 0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded. After this operation, 475 kB disk space will be freed. Do you want to continue? [Y/n] Y (Reading database ... 42917 files and directories currently installed.) Removing ax25-node (0.3.2-7.4) ... Removing libax25 (0.0.12-rc2+cvs20120204-3) ... Removing openbsd-inetd (0.20140418-2) ... Removing update-inetd (4.43) ... Removing libfile-copy-recursive-perl (0.38-1) ... Processing triggers for man-db (2.7.0.2-5) ... Processing triggers for libc-bin (2.19-18+deb8u6) ... pi@raspberrypi2:~ $ sudo apt-get install libbluetooth-dev Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libbluetooth3 The following NEW packages will be installed: libbluetooth-dev libbluetooth3 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/230 kB of archives. After this operation, 665 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Selecting previously unselected package libbluetooth3:armhf. (Reading database ... 42841 files and directories currently installed.) Preparing to unpack .../libbluetooth3_5.23-2+rpi2_armhf.deb ... Unpacking libbluetooth3:armhf (5.23-2+rpi2) ... Selecting previously unselected package libbluetooth-dev. Preparing to unpack .../libbluetooth-dev_5.23-2+rpi2_armhf.deb ... Unpacking libbluetooth-dev (5.23-2+rpi2) ... Setting up libbluetooth3:armhf (5.23-2+rpi2) ... Setting up libbluetooth-dev (5.23-2+rpi2) ... Processing triggers for libc-bin (2.19-18+deb8u6) ... pi@raspberrypi2:~ $ sudo apt-get install libudev-dev Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libudev-dev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/23.2 kB of archives. After this operation, 261 kB of additional disk space will be used. Selecting previously unselected package libudev-dev:armhf. (Reading database ... 42894 files and directories currently installed.) Preparing to unpack .../libudev-dev_215-17+deb8u5_armhf.deb ... Unpacking libudev-dev:armhf (215-17+deb8u5) ... Setting up libudev-dev:armhf (215-17+deb8u5) ... pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ sudo systemctl enable nodered.service pi@raspberrypi2:~ $ cd .node-red -bash: cd: .node-red: No such file or directory pi@raspberrypi2:~ $ pwd /home/pi pi@raspberrypi2:~ $ ls -las total 40 4 drwxr-xr-x 6 pi pi 4096 Jan 8 20:04 . 4 drwxr-xr-x 3 root root 4096 Nov 25 18:24 .. 4 -rw------- 1 pi pi 2105 Jan 8 20:20 .bash_history 4 -rw-r--r-- 1 pi pi 220 Nov 25 18:24 .bash_logout 4 -rw-r--r-- 1 pi pi 3512 Nov 25 18:24 .bashrc 4 drwxr-xr-x 4 pi pi 4096 Jan 8 20:04 EspruinoHub 4 drwxr-xr-x 5 pi pi 4096 Jan 7 21:26 EspruinoHub.gw 4 drwxr-xr-x 3 pi pi 4096 Jan 7 21:27 .node-gyp 4 drwxr-xr-x 95 pi pi 4096 Jan 7 21:26 .npm 4 -rw-r--r-- 1 pi pi 675 Nov 25 18:24 .profile pi@raspberrypi2:~ $ node-red-start& [1] 9686 pi@raspberrypi2:~ $ node.js v0.10 is NO LONGER supported. please consider upgrading to node.js LTS. you can do this with the following command: update-nodejs-and-nodered Start Node-RED Once Node-RED has started, point a browser at http://192.168.2.21:1880 On Pi Node-RED works better with the Firefox browser Use node-red-stop to stop Node-RED Use node-red-start to start Node-RED again Use node-red-log to view the recent log output Use sudo systemctl enable nodered.service to autostart Node-RED at every boot Use sudo systemctl disable nodered.service to disable autostart on boot To find more nodes and example flows - go to http://flows.nodered.org You may also need to install and upgrade npm sudo apt-get install npm sudo npm i -g npm@2.x Started Node-RED graphical event wiring tool.. Welcome to Node-RED =================== 8 Jan 20:34:34 - [info] Node-RED version: v0.15.2 8 Jan 20:34:34 - [info] Node.js version: v0.10.29 8 Jan 20:34:34 - [info] Linux 4.4.38-v7+ arm LE 8 Jan 20:34:37 - [info] Loading palette nodes pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/usr/bin/python -u /usr/lib/node_modules/node-red/nodes/core/hardware/nrgpio.py info pam_unix(sudo:session): session opened for user root by (uid=0) pam_unix(sudo:session): session closed for user root 8 Jan 20:34:46 - [warn] ------------------------------------------------------ 8 Jan 20:34:46 - [warn] [sensehat] Error: Can't find Sense HAT python libraries. Run sudo apt-get install sense-hat 8 Jan 20:34:46 - [warn] ------------------------------------------------------ 8 Jan 20:34:46 - [info] Settings file : /home/pi/.node-red/settings.js 8 Jan 20:34:46 - [info] User directory : /home/pi/.node-red 8 Jan 20:34:46 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi2.json 8 Jan 20:34:46 - [info] Creating new flow file 8 Jan 20:34:46 - [info] Server now running at http://127.0.0.1:1880/ 8 Jan 20:34:46 - [info] Starting flows 8 Jan 20:34:46 - [info] Started flows pi@raspberrypi2:~ $ sudo apt-get install sense-hat Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: dh-python libblas-common libblas3 libgfortran3 libjbig0 liblapack3 liblcms2-2 libmpdec2 libpython3-stdlib libpython3.4-minimal libpython3.4-stdlib librtimulib-dev librtimulib-utils librtimulib7 libtiff5 libwebp5 libwebpdemux1 libwebpmux1 python-numpy python-pil python-rtimulib python-sense-hat python3 python3-minimal python3-numpy python3-pil python3-rtimulib python3-sense-hat python3.4 python3.4-minimal Suggested packages: liblcms2-utils octave gfortran python-dev python-nose python-numpy-dbg python-numpy-doc python-pil-doc python-pil-dbg python3-doc python3-tk python3-venv python3-dev python3-nose python3-numpy-dbg python3-pil-dbg python3.4-venv python3.4-doc binfmt-support The following NEW packages will be installed: dh-python libblas-common libblas3 libgfortran3 libjbig0 liblapack3 liblcms2-2 libmpdec2 libpython3-stdlib libpython3.4-minimal libpython3.4-stdlib librtimulib-dev librtimulib-utils librtimulib7 libtiff5 libwebp5 libwebpdemux1 libwebpmux1 python-numpy python-pil python-rtimulib python-sense-hat python3 python3-minimal python3-numpy python3-pil python3-rtimulib python3-sense-hat python3.4 python3.4-minimal sense-hat 0 upgraded, 31 newly installed, 0 to remove and 0 not upgraded. Need to get 10.2 MB of archives. After this operation, 44.1 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://archive.raspberrypi.org/debian/ jessie/main librtimulib7 armhf 7.2.1-3 [48.5 kB] Get:2 http://archive.raspberrypi.org/debian/ jessie/main librtimulib-dev armhf 7.2.1-3 [21.4 kB] Get:3 http://archive.raspberrypi.org/debian/ jessie/main librtimulib-utils armhf 7.2.1-3 [13.1 kB] Get:4 http://archive.raspberrypi.org/debian/ jessie/main python-rtimulib armhf 7.2.1-3 [47.6 kB] Get:5 http://mirrordirector.raspbian.org/raspbian/ jessie/main libgfortran3 armhf 4.9.2-10 [154 kB] Get:6 http://archive.raspberrypi.org/debian/ jessie/main python-sense-hat armhf 2.2.0-1 [13.8 kB] Get:7 http://archive.raspberrypi.org/debian/ jessie/main python3-rtimulib armhf 7.2.1-3 [47.9 kB] Get:8 http://mirrordirector.raspbian.org/raspbian/ jessie/main libjbig0 armhf 2.1-3.1 [27.5 kB] Get:9 http://mirrordirector.raspbian.org/raspbian/ jessie/main liblcms2-2 armhf 2.6-3 [113 kB] Get:10 http://archive.raspberrypi.org/debian/ jessie/main python3-sense-hat armhf 2.2.0-1 [13.9 kB] Get:11 http://mirrordirector.raspbian.org/raspbian/ jessie/main libmpdec2 armhf 2.4.1-1 [65.8 kB] Get:12 http://archive.raspberrypi.org/debian/ jessie/main sense-hat all 1.2 [11.6 kB] Get:13 http://mirrordirector.raspbian.org/raspbian/ jessie/main libpython3.4-minimal armhf 3.4.2-1 [483 kB] Get:14 http://mirrordirector.raspbian.org/raspbian/ jessie/main libpython3.4-stdlib armhf 3.4.2-1 [2,011 kB] Get:15 http://mirrordirector.raspbian.org/raspbian/ jessie/main libtiff5 armhf 4.0.3-12.3+deb8u1 [194 kB] Get:16 http://mirrordirector.raspbian.org/raspbian/ jessie/main python3.4-minimal armhf 3.4.2-1 [1,355 kB] Get:17 http://mirrordirector.raspbian.org/raspbian/ jessie/main libwebp5 armhf 0.4.1-1.2 [164 kB] Get:18 http://mirrordirector.raspbian.org/raspbian/ jessie/main libwebpdemux1 armhf 0.4.1-1.2 [49.4 kB] Get:19 http://mirrordirector.raspbian.org/raspbian/ jessie/main libwebpmux1 armhf 0.4.1-1.2 [54.6 kB] Get:20 http://mirrordirector.raspbian.org/raspbian/ jessie/main python3.4 armhf 3.4.2-1 [204 kB] Get:21 http://mirrordirector.raspbian.org/raspbian/ jessie/main python3-minimal armhf 3.4.2-2 [34.7 kB] Get:22 http://mirrordirector.raspbian.org/raspbian/ jessie/main libpython3-stdlib armhf 3.4.2-2 [18.1 kB] Get:23 http://mirrordirector.raspbian.org/raspbian/ jessie/main python3 armhf 3.4.2-2 [21.2 kB] Get:24 http://mirrordirector.raspbian.org/raspbian/ jessie/main dh-python all 1.20141111-2 [66.4 kB] Get:25 http://mirrordirector.raspbian.org/raspbian/ jessie/main libblas-common armhf 1.2.20110419-10 [8,494 B] Get:26 http://mirrordirector.raspbian.org/raspbian/ jessie/main libblas3 armhf 1.2.20110419-10 [120 kB] Get:27 http://mirrordirector.raspbian.org/raspbian/ jessie/main liblapack3 armhf 3.5.0-4 [1,316 kB] Get:28 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-numpy armhf 1:1.8.2-2 [1,498 kB] Get:29 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-pil armhf 2.6.1-2+deb8u3 [278 kB] Get:30 http://mirrordirector.raspbian.org/raspbian/ jessie/main python3-numpy armhf 1:1.8.2-2 [1,497 kB] Get:31 http://mirrordirector.raspbian.org/raspbian/ jessie/main python3-pil armhf 2.6.1-2+deb8u3 [278 kB] Fetched 10.2 MB in 26s (392 kB/s) Extracting templates from packages: 100% Selecting previously unselected package libgfortran3:armhf. (Reading database ... 42922 files and directories currently installed.) Preparing to unpack .../libgfortran3_4.9.2-10_armhf.deb ... Unpacking libgfortran3:armhf (4.9.2-10) ... Selecting previously unselected package libjbig0:armhf. Preparing to unpack .../libjbig0_2.1-3.1_armhf.deb ... Unpacking libjbig0:armhf (2.1-3.1) ... Selecting previously unselected package liblcms2-2:armhf. Preparing to unpack .../liblcms2-2_2.6-3_armhf.deb ... Unpacking liblcms2-2:armhf (2.6-3) ... Selecting previously unselected package libmpdec2:armhf. Preparing to unpack .../libmpdec2_2.4.1-1_armhf.deb ... Unpacking libmpdec2:armhf (2.4.1-1) ... Selecting previously unselected package libpython3.4-minimal:armhf. Preparing to unpack .../libpython3.4-minimal_3.4.2-1_armhf.deb ... Unpacking libpython3.4-minimal:armhf (3.4.2-1) ... Selecting previously unselected package libpython3.4-stdlib:armhf. Preparing to unpack .../libpython3.4-stdlib_3.4.2-1_armhf.deb ... Unpacking libpython3.4-stdlib:armhf (3.4.2-1) ... Selecting previously unselected package libtiff5:armhf. Preparing to unpack .../libtiff5_4.0.3-12.3+deb8u1_armhf.deb ... Unpacking libtiff5:armhf (4.0.3-12.3+deb8u1) ... Selecting previously unselected package python3.4-minimal. Preparing to unpack .../python3.4-minimal_3.4.2-1_armhf.deb ... Unpacking python3.4-minimal (3.4.2-1) ... Selecting previously unselected package libwebp5:armhf. Preparing to unpack .../libwebp5_0.4.1-1.2_armhf.deb ... Unpacking libwebp5:armhf (0.4.1-1.2) ... Selecting previously unselected package libwebpdemux1:armhf. Preparing to unpack .../libwebpdemux1_0.4.1-1.2_armhf.deb ... Unpacking libwebpdemux1:armhf (0.4.1-1.2) ... Selecting previously unselected package libwebpmux1:armhf. Preparing to unpack .../libwebpmux1_0.4.1-1.2_armhf.deb ... Unpacking libwebpmux1:armhf (0.4.1-1.2) ... Selecting previously unselected package python3.4. Preparing to unpack .../python3.4_3.4.2-1_armhf.deb ... Unpacking python3.4 (3.4.2-1) ... Selecting previously unselected package python3-minimal. Preparing to unpack .../python3-minimal_3.4.2-2_armhf.deb ... Unpacking python3-minimal (3.4.2-2) ... Selecting previously unselected package libpython3-stdlib:armhf. Preparing to unpack .../libpython3-stdlib_3.4.2-2_armhf.deb ... Unpacking libpython3-stdlib:armhf (3.4.2-2) ... Selecting previously unselected package python3. Preparing to unpack .../python3_3.4.2-2_armhf.deb ... Unpacking python3 (3.4.2-2) ... Selecting previously unselected package dh-python. Preparing to unpack .../dh-python_1.20141111-2_all.deb ... Unpacking dh-python (1.20141111-2) ... Selecting previously unselected package libblas-common. Preparing to unpack .../libblas-common_1.2.20110419-10_armhf.deb ... Unpacking libblas-common (1.2.20110419-10) ... Selecting previously unselected package libblas3. Preparing to unpack .../libblas3_1.2.20110419-10_armhf.deb ... Unpacking libblas3 (1.2.20110419-10) ... Selecting previously unselected package liblapack3. Preparing to unpack .../liblapack3_3.5.0-4_armhf.deb ... Unpacking liblapack3 (3.5.0-4) ... Selecting previously unselected package librtimulib7. Preparing to unpack .../librtimulib7_7.2.1-3_armhf.deb ... Unpacking librtimulib7 (7.2.1-3) ... Selecting previously unselected package librtimulib-dev. Preparing to unpack .../librtimulib-dev_7.2.1-3_armhf.deb ... Unpacking librtimulib-dev (7.2.1-3) ... Selecting previously unselected package librtimulib-utils. Preparing to unpack .../librtimulib-utils_7.2.1-3_armhf.deb ... Unpacking librtimulib-utils (7.2.1-3) ... Selecting previously unselected package python-numpy. Preparing to unpack .../python-numpy_1%3a1.8.2-2_armhf.deb ... Unpacking python-numpy (1:1.8.2-2) ... Selecting previously unselected package python-pil:armhf. Preparing to unpack .../python-pil_2.6.1-2+deb8u3_armhf.deb ... Unpacking python-pil:armhf (2.6.1-2+deb8u3) ... Selecting previously unselected package python-rtimulib. Preparing to unpack .../python-rtimulib_7.2.1-3_armhf.deb ... Unpacking python-rtimulib (7.2.1-3) ... Selecting previously unselected package python-sense-hat. Preparing to unpack .../python-sense-hat_2.2.0-1_armhf.deb ... Unpacking python-sense-hat (2.2.0-1) ... Selecting previously unselected package python3-numpy. Preparing to unpack .../python3-numpy_1%3a1.8.2-2_armhf.deb ... Unpacking python3-numpy (1:1.8.2-2) ... Selecting previously unselected package python3-pil:armhf. Preparing to unpack .../python3-pil_2.6.1-2+deb8u3_armhf.deb ... Unpacking python3-pil:armhf (2.6.1-2+deb8u3) ... Selecting previously unselected package python3-rtimulib. Preparing to unpack .../python3-rtimulib_7.2.1-3_armhf.deb ... Unpacking python3-rtimulib (7.2.1-3) ... Selecting previously unselected package python3-sense-hat. Preparing to unpack .../python3-sense-hat_2.2.0-1_armhf.deb ... Unpacking python3-sense-hat (2.2.0-1) ... Selecting previously unselected package sense-hat. Preparing to unpack .../archives/sense-hat_1.2_all.deb ... Unpacking sense-hat (1.2) ... Processing triggers for man-db (2.7.0.2-5) ... Processing triggers for mime-support (3.58) ... Setting up libgfortran3:armhf (4.9.2-10) ... Setting up libjbig0:armhf (2.1-3.1) ... Setting up liblcms2-2:armhf (2.6-3) ... Setting up libmpdec2:armhf (2.4.1-1) ... Setting up libpython3.4-minimal:armhf (3.4.2-1) ... Setting up libpython3.4-stdlib:armhf (3.4.2-1) ... Setting up libtiff5:armhf (4.0.3-12.3+deb8u1) ... Setting up python3.4-minimal (3.4.2-1) ... Setting up libwebp5:armhf (0.4.1-1.2) ... Setting up libwebpdemux1:armhf (0.4.1-1.2) ... Setting up libwebpmux1:armhf (0.4.1-1.2) ... Setting up python3.4 (3.4.2-1) ... Setting up python3-minimal (3.4.2-2) ... Setting up libpython3-stdlib:armhf (3.4.2-2) ... Setting up libblas-common (1.2.20110419-10) ... Setting up libblas3 (1.2.20110419-10) ... update-alternatives: using /usr/lib/libblas/libblas.so.3 to provide /usr/lib/libblas.so.3 (libblas.so.3) in auto mode Setting up liblapack3 (3.5.0-4) ... update-alternatives: using /usr/lib/lapack/liblapack.so.3 to provide /usr/lib/liblapack.so.3 (liblapack.so.3) in auto mode Setting up librtimulib7 (7.2.1-3) ... Setting up librtimulib-dev (7.2.1-3) ... Setting up librtimulib-utils (7.2.1-3) ... Setting up python-numpy (1:1.8.2-2) ... Setting up python-pil:armhf (2.6.1-2+deb8u3) ... Setting up python-rtimulib (7.2.1-3) ... Setting up python-sense-hat (2.2.0-1) ... Setting up python3-rtimulib (7.2.1-3) ... Setting up python3 (3.4.2-2) ... running python rtupdate hooks for python3.4... running python post-rtupdate hooks for python3.4... Setting up dh-python (1.20141111-2) ... Setting up python3-numpy (1:1.8.2-2) ... Setting up python3-pil:armhf (2.6.1-2+deb8u3) ... Setting up python3-sense-hat (2.2.0-1) ... Setting up sense-hat (1.2) ... Enabling I2C... Processing triggers for libc-bin (2.19-18+deb8u6) ... pi@raspberrypi2:~ $ node-red-stop Stop Node-RED Use node-red-start to start Node-RED again Stopping Node-RED graphical event wiring tool.... 8 Jan 20:38:07 - [info] Stopping flows Stopped Node-RED graphical event wiring tool.. pi@raspberrypi2:~ $ node-red-start& [2] 10550 pi@raspberrypi2:~ $ node.js v0.10 is NO LONGER supported. please consider upgrading to node.js LTS. you can do this with the following command: update-nodejs-and-nodered Start Node-RED Once Node-RED has started, point a browser at http://192.168.2.21:1880 On Pi Node-RED works better with the Firefox browser Use node-red-stop to stop Node-RED Use node-red-start to start Node-RED again Use node-red-log to view the recent log output Use sudo systemctl enable nodered.service to autostart Node-RED at every boot Use sudo systemctl disable nodered.service to disable autostart on boot To find more nodes and example flows - go to http://flows.nodered.org You may also need to install and upgrade npm sudo apt-get install npm sudo npm i -g npm@2.x Starting Node-RED graphical event wiring tool.... Started Node-RED graphical event wiring tool.. Welcome to Node-RED Started Node-RED graphical event wiring tool.. Welcome to Node-RED =================== =================== 8 Jan 20:38:24 - [info] Node-RED version: v0.15.2 8 Jan 20:38:24 - [info] Node-RED version: v0.15.2 8 Jan 20:38:24 - [info] Node.js version: v0.10.29 8 Jan 20:38:24 - [info] Node.js version: v0.10.29 8 Jan 20:38:24 - [info] Linux 4.4.38-v7+ arm LE 8 Jan 20:38:24 - [info] Linux 4.4.38-v7+ arm LE 8 Jan 20:38:26 - [info] Loading palette nodes 8 Jan 20:38:26 - [info] Loading palette nodes pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/usr/bin/python -u /usr/lib/node_modules/node-red/nodes/core/hardware/nrgpio.py info pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/usr/bin/python -u /usr/lib/node_modules/node-red/nodes/core/hardware/nrgpio.py info pam_unix(sudo:session): session opened for user root by (uid=0) pam_unix(sudo:session): session opened for user root by (uid=0) pam_unix(sudo:session): session closed for user root pam_unix(sudo:session): session closed for user root 8 Jan 20:38:34 - [info] Settings file : /home/pi/.node-red/settings.js 8 Jan 20:38:34 - [info] Settings file : /home/pi/.node-red/settings.js 8 Jan 20:38:34 - [info] User directory : /home/pi/.node-red 8 Jan 20:38:34 - [info] User directory : /home/pi/.node-red 8 Jan 20:38:34 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi2.json 8 Jan 20:38:34 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi2.json 8 Jan 20:38:34 - [info] Creating new flow file 8 Jan 20:38:34 - [info] Creating new flow file 8 Jan 20:38:35 - [info] Starting flows 8 Jan 20:38:35 - [info] Starting flows 8 Jan 20:38:35 - [info] Started flows 8 Jan 20:38:35 - [info] Started flows 8 Jan 20:38:35 - [info] Server now running at http://127.0.0.1:1880/ 8 Jan 20:38:35 - [info] Server now running at http://127.0.0.1:1880/ pi@raspberrypi2:~ $ jobs [1]- Running node-red-start & [2]+ Running node-red-start & pi@raspberrypi2:~ $ fg node-red-start ^Cpi@raspberrypi2:~ $ pi@raspberrypi2:~ $ fg node-red-start ^Cpi@raspberrypi2:~ $ pi@raspberrypi2:~ $ jobs pi@raspberrypi2:~ $ node-red-stop Stop Node-RED Use node-red-start to start Node-RED again pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ node-red-start node.js v0.10 is NO LONGER supported. please consider upgrading to node.js LTS. you can do this with the following command: update-nodejs-and-nodered Start Node-RED Once Node-RED has started, point a browser at http://192.168.2.21:1880 On Pi Node-RED works better with the Firefox browser Use node-red-stop to stop Node-RED Use node-red-start to start Node-RED again Use node-red-log to view the recent log output Use sudo systemctl enable nodered.service to autostart Node-RED at every boot Use sudo systemctl disable nodered.service to disable autostart on boot To find more nodes and example flows - go to http://flows.nodered.org You may also need to install and upgrade npm sudo apt-get install npm sudo npm i -g npm@2.x Started Node-RED graphical event wiring tool.. Welcome to Node-RED =================== 8 Jan 20:39:55 - [info] Node-RED version: v0.15.2 8 Jan 20:39:55 - [info] Node.js version: v0.10.29 8 Jan 20:39:55 - [info] Linux 4.4.38-v7+ arm LE 8 Jan 20:39:57 - [info] Loading palette nodes pi : TTY=unknown ; PWD=/home/pi ; USER=root ; COMMAND=/usr/bin/python -u /usr/lib/node_modules/node-red/nodes/core/hardware/nrgpio.py info pam_unix(sudo:session): session opened for user root by (uid=0) pam_unix(sudo:session): session closed for user root 8 Jan 20:40:06 - [info] Settings file : /home/pi/.node-red/settings.js 8 Jan 20:40:06 - [info] User directory : /home/pi/.node-red 8 Jan 20:40:06 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi2.json 8 Jan 20:40:06 - [info] Creating new flow file 8 Jan 20:40:06 - [info] Starting flows 8 Jan 20:40:06 - [info] Started flows 8 Jan 20:40:06 - [info] Server now running at http://127.0.0.1:1880/ ^Z [1]+ Stopped node-red-start pi@raspberrypi2:~ $ bg [1]+ node-red-start & [1]+ Stopped node-red-start pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ pwd /home/pi pi@raspberrypi2:~ $ ls .node-red lib node_modules settings.js pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ cd .node-red pi@raspberrypi2:~/.node-red $ pi@raspberrypi2:~/.node-red $ npm install node-red-contrib-ui npm WARN npm npm does not support Node.js v0.10.29 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm You can find the latest version at https://nodejs.org/ /home/pi/.node-red └─┬ node-red-contrib-ui@1.2.19 ├─┬ serve-static@1.11.1 │ ├── encodeurl@1.0.1 │ ├── escape-html@1.0.3 │ ├── parseurl@1.3.1 │ └─┬ send@0.14.1 │ ├── debug@2.2.0 │ ├── depd@1.1.0 │ ├── destroy@1.0.4 │ ├── etag@1.7.0 │ ├── fresh@0.3.0 │ ├─┬ http-errors@1.5.1 │ │ ├── inherits@2.0.3 │ │ └── setprototypeof@1.0.2 │ ├── mime@1.3.4 │ ├── ms@0.7.1 │ ├─┬ on-finished@2.3.0 │ │ └── ee-first@1.1.1 │ ├── range-parser@1.2.0 │ └── statuses@1.3.1 └─┬ socket.io@1.7.2 ├─┬ debug@2.3.3 │ └── ms@0.7.2 ├─┬ engine.io@1.8.2 │ ├─┬ accepts@1.3.3 │ │ ├─┬ mime-types@2.1.13 │ │ │ └── mime-db@1.25.0 │ │ └── negotiator@0.6.1 │ ├── base64id@1.0.0 │ ├── cookie@0.3.1 │ ├─┬ debug@2.3.3 │ │ └── ms@0.7.2 │ ├─┬ engine.io-parser@1.3.2 │ │ ├── after@0.8.2 │ │ ├── arraybuffer.slice@0.0.6 │ │ ├── base64-arraybuffer@0.1.5 │ │ ├── blob@0.0.4 │ │ └── wtf-8@1.0.0 │ └─┬ ws@1.1.1 │ ├── options@0.0.6 │ └── ultron@1.0.2 ├─┬ has-binary@0.1.7 │ └── isarray@0.0.1 ├── object-assign@4.1.0 ├─┬ socket.io-adapter@0.5.0 │ └─┬ debug@2.3.3 │ └── ms@0.7.2 ├─┬ socket.io-client@1.7.2 │ ├── backo2@1.0.2 │ ├── component-bind@1.0.0 │ ├── component-emitter@1.2.1 │ ├─┬ debug@2.3.3 │ │ └── ms@0.7.2 │ ├─┬ engine.io-client@1.8.2 │ │ ├── component-emitter@1.2.1 │ │ ├── component-inherit@0.0.3 │ │ ├─┬ debug@2.3.3 │ │ │ └── ms@0.7.2 │ │ ├── has-cors@1.1.0 │ │ ├── parsejson@0.0.3 │ │ ├── parseqs@0.0.5 │ │ ├── xmlhttprequest-ssl@1.5.3 │ │ └── yeast@0.1.2 │ ├── indexof@0.0.1 │ ├── object-component@0.0.3 │ ├─┬ parseuri@0.0.5 │ │ └─┬ better-assert@1.0.2 │ │ └── callsite@1.0.0 │ └── to-array@0.1.4 └─┬ socket.io-parser@2.3.1 ├── component-emitter@1.1.2 └── json3@3.3.2 npm WARN enoent ENOENT, open '/home/pi/.node-red/package.json' npm WARN .node-red No description npm WARN .node-red No repository field. npm WARN .node-red No README data npm WARN .node-red No license field. pi@raspberrypi2:~/.node-red $ cd .. pi@raspberrypi2:~ $ ls EspruinoHub EspruinoHub.gw pi@raspberrypi2:~ $ sudo npm -g install npm npm WARN npm npm does not support Node.js v0.10.29 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm You can find the latest version at https://nodejs.org/ npm WARN gentlyRm not removing /usr/bin/npm as it wasn't installed by /usr/lib/node_modules/npm /usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js /usr/lib └── npm@4.0.5 pi@raspberrypi2:~ $ sudo npm -g install node-gyp npm WARN npm npm does not support Node.js v0.10.29 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm You can find the latest version at https://nodejs.org/ npm WARN gentlyRm not removing /usr/bin/node-gyp as it wasn't installed by /usr/lib/node_modules/node-gyp /usr/bin/node-gyp -> /usr/lib/node_modules/node-gyp/bin/node-gyp.js /usr/lib └── node-gyp@3.4.0 pi@raspberrypi2:~ $ pwd /home/pi pi@raspberrypi2:~ $ ls EspruinoHub EspruinoHub.gw pi@raspberrypi2:~ $ rm -r EspruinoHub rm: remove write-protected regular file ‘EspruinoHub/.git/objects/pack/pack-639259826633c8918d2b7a49db67a87bbe0a6d13.pack’? y rm: remove write-protected regular file ‘EspruinoHub/.git/objects/pack/pack-639259826633c8918d2b7a49db67a87bbe0a6d13.idx’? y pi@raspberrypi2:~ $ rm -r EspruinoHub.gw rm: remove write-protected regular file ‘EspruinoHub.gw/.git/objects/pack/pack-50869a58731e2bf6e524022b9c5ee844920ae9af.pack’? y rm: remove write-protected regular file ‘EspruinoHub.gw/.git/objects/pack/pack-50869a58731e2bf6e524022b9c5ee844920ae9af.idx’? y pi@raspberrypi2:~ $ git clone https://github.com/espruino/EspruinoHub Cloning into 'EspruinoHub'... remote: Counting objects: 170, done. remote: Total 170 (delta 0), reused 0 (delta 0), pack-reused 170 Receiving objects: 100% (170/170), 43.14 KiB | 0 bytes/s, done. Resolving deltas: 100% (100/100), done. Checking connectivity... done. pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ cd EspruinoHub/ pi@raspberrypi2:~/EspruinoHub $ npm install npm WARN npm npm does not support Node.js v0.10.29 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm You can find the latest version at https://nodejs.org/ > usb@1.2.0 install /home/pi/EspruinoHub/node_modules/usb > node-pre-gyp install --fallback-to-build node-pre-gyp ERR! Tried to download: https://github.com/tessel/node-usb/releases/download/1.2.0/usb_bindings-v1.2.0-node-v11-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for usb@1.2.0 and node@0.10.29 (node-v11 ABI) (falling back to source compile with node-gyp) make: Entering directory '/home/pi/EspruinoHub/node_modules/usb/build' CC(target) Release/obj.target/libusb/libusb/libusb/core.o CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o CC(target) Release/obj.target/libusb/libusb/libusb/io.o CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o CC(target) Release/obj.target/libusb/libusb/libusb/sync.o CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o AR(target) Release/obj.target/usb.a COPY Release/usb.a CXX(target) Release/obj.target/usb_bindings/src/node_usb.o CXX(target) Release/obj.target/usb_bindings/src/device.o CXX(target) Release/obj.target/usb_bindings/src/transfer.o SOLINK_MODULE(target) Release/obj.target/usb_bindings.node COPY Release/usb_bindings.node COPY /home/pi/EspruinoHub/node_modules/usb/src/binding/usb_bindings.node TOUCH Release/obj.target/action_after_build.stamp make: Leaving directory '/home/pi/EspruinoHub/node_modules/usb/build' > bluetooth-hci-socket@0.5.1 install /home/pi/EspruinoHub/node_modules/bluetooth-hci-socket > node-gyp rebuild make: Entering directory '/home/pi/EspruinoHub/node_modules/bluetooth-hci-socket/build' CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o SOLINK_MODULE(target) Release/obj.target/binding.node COPY Release/binding.node make: Leaving directory '/home/pi/EspruinoHub/node_modules/bluetooth-hci-socket/build' EspruinoHub@0.0.0 /home/pi/EspruinoHub ├─┬ bleno@0.4.1 │ ├─┬ bluetooth-hci-socket@0.5.1 │ │ ├── nan@2.5.0 │ │ └─┬ usb@1.2.0 │ │ └─┬ node-pre-gyp@0.6.30 │ │ ├─┬ mkdirp@0.5.1 │ │ │ └── minimist@0.0.8 │ │ ├─┬ nopt@3.0.6 │ │ │ └── abbrev@1.0.9 │ │ ├─┬ npmlog@4.0.0 │ │ │ ├─┬ are-we-there-yet@1.1.2 │ │ │ │ ├── delegates@1.0.0 │ │ │ │ └─┬ readable-stream@2.1.5 │ │ │ │ ├── buffer-shims@1.0.0 │ │ │ │ ├── core-util-is@1.0.2 │ │ │ │ ├── inherits@2.0.1 │ │ │ │ ├── isarray@1.0.0 │ │ │ │ ├── process-nextick-args@1.0.7 │ │ │ │ ├── string_decoder@0.10.31 │ │ │ │ └── util-deprecate@1.0.2 │ │ │ ├── console-control-strings@1.1.0 │ │ │ ├─┬ gauge@2.6.0 │ │ │ │ ├── aproba@1.0.4 │ │ │ │ ├── has-color@0.1.7 │ │ │ │ ├── has-unicode@2.0.1 │ │ │ │ ├── object-assign@4.1.0 │ │ │ │ ├── signal-exit@3.0.0 │ │ │ │ ├─┬ string-width@1.0.2 │ │ │ │ │ ├─┬ code-point-at@1.0.0 │ │ │ │ │ │ └── number-is-nan@1.0.0 │ │ │ │ │ └─┬ is-fullwidth-code-point@1.0.0 │ │ │ │ │ └── number-is-nan@1.0.0 │ │ │ │ ├─┬ strip-ansi@3.0.1 │ │ │ │ │ └── ansi-regex@2.0.0 │ │ │ │ └── wide-align@1.1.0 │ │ │ └── set-blocking@2.0.0 │ │ ├─┬ rc@1.1.6 │ │ │ ├── deep-extend@0.4.1 │ │ │ ├── ini@1.3.4 │ │ │ ├── minimist@1.2.0 │ │ │ └── strip-json-comments@1.0.4 │ │ ├─┬ request@2.74.0 │ │ │ ├── aws-sign2@0.6.0 │ │ │ ├── aws4@1.4.1 │ │ │ ├─┬ bl@1.1.2 │ │ │ │ └─┬ readable-stream@2.0.6 │ │ │ │ ├── core-util-is@1.0.2 │ │ │ │ ├── inherits@2.0.1 │ │ │ │ ├── isarray@1.0.0 │ │ │ │ ├── process-nextick-args@1.0.7 │ │ │ │ ├── string_decoder@0.10.31 │ │ │ │ └── util-deprecate@1.0.2 │ │ │ ├── caseless@0.11.0 │ │ │ ├─┬ combined-stream@1.0.5 │ │ │ │ └── delayed-stream@1.0.0 │ │ │ ├── extend@3.0.0 │ │ │ ├── forever-agent@0.6.1 │ │ │ ├─┬ form-data@1.0.1 │ │ │ │ └─┬ async@2.0.1 │ │ │ │ └── lodash@4.15.0 │ │ │ ├─┬ har-validator@2.0.6 │ │ │ │ ├─┬ chalk@1.1.3 │ │ │ │ │ ├── ansi-styles@2.2.1 │ │ │ │ │ ├── escape-string-regexp@1.0.5 │ │ │ │ │ ├─┬ has-ansi@2.0.0 │ │ │ │ │ │ └── ansi-regex@2.0.0 │ │ │ │ │ ├─┬ strip-ansi@3.0.1 │ │ │ │ │ │ └── ansi-regex@2.0.0 │ │ │ │ │ └── supports-color@2.0.0 │ │ │ │ ├─┬ commander@2.9.0 │ │ │ │ │ └── graceful-readlink@1.0.1 │ │ │ │ ├─┬ is-my-json-valid@2.13.1 │ │ │ │ │ ├── generate-function@2.0.0 │ │ │ │ │ ├─┬ generate-object-property@1.2.0 │ │ │ │ │ │ └── is-property@1.0.2 │ │ │ │ │ ├── jsonpointer@2.0.0 │ │ │ │ │ └── xtend@4.0.1 │ │ │ │ └─┬ pinkie-promise@2.0.1 │ │ │ │ └── pinkie@2.0.4 │ │ │ ├─┬ hawk@3.1.3 │ │ │ │ ├── boom@2.10.1 │ │ │ │ ├── cryptiles@2.0.5 │ │ │ │ ├── hoek@2.16.3 │ │ │ │ └── sntp@1.0.9 │ │ │ ├─┬ http-signature@1.1.1 │ │ │ │ ├── assert-plus@0.2.0 │ │ │ │ ├─┬ jsprim@1.3.0 │ │ │ │ │ ├── extsprintf@1.0.2 │ │ │ │ │ ├── json-schema@0.2.2 │ │ │ │ │ └── verror@1.3.6 │ │ │ │ └─┬ sshpk@1.10.0 │ │ │ │ ├── asn1@0.2.3 │ │ │ │ ├── assert-plus@1.0.0 │ │ │ │ ├─┬ bcrypt-pbkdf@1.0.0 │ │ │ │ │ └── tweetnacl@0.14.3 │ │ │ │ ├── dashdash@1.14.0 │ │ │ │ ├── ecc-jsbn@0.1.1 │ │ │ │ ├── getpass@0.1.6 │ │ │ │ ├── jodid25519@1.0.2 │ │ │ │ ├── jsbn@0.1.0 │ │ │ │ └── tweetnacl@0.13.3 │ │ │ ├── is-typedarray@1.0.0 │ │ │ ├── isstream@0.1.2 │ │ │ ├── json-stringify-safe@5.0.1 │ │ │ ├─┬ mime-types@2.1.11 │ │ │ │ └── mime-db@1.23.0 │ │ │ ├── node-uuid@1.4.7 │ │ │ ├── oauth-sign@0.8.2 │ │ │ ├── qs@6.2.1 │ │ │ ├── stringstream@0.0.5 │ │ │ ├── tough-cookie@2.3.1 │ │ │ └── tunnel-agent@0.4.3 │ │ ├─┬ rimraf@2.5.4 │ │ │ └─┬ glob@7.0.6 │ │ │ ├── fs.realpath@1.0.0 │ │ │ ├─┬ inflight@1.0.5 │ │ │ │ └── wrappy@1.0.2 │ │ │ ├── inherits@2.0.1 │ │ │ ├─┬ minimatch@3.0.3 │ │ │ │ └─┬ brace-expansion@1.1.6 │ │ │ │ ├── balanced-match@0.4.2 │ │ │ │ └── concat-map@0.0.1 │ │ │ ├─┬ once@1.3.3 │ │ │ │ └── wrappy@1.0.2 │ │ │ └── path-is-absolute@1.0.0 │ │ ├── semver@5.3.0 │ │ ├─┬ tar@2.2.1 │ │ │ ├── block-stream@0.0.9 │ │ │ ├─┬ fstream@1.0.10 │ │ │ │ └── graceful-fs@4.1.6 │ │ │ └── inherits@2.0.1 │ │ └─┬ tar-pack@3.1.4 │ │ ├─┬ debug@2.2.0 │ │ │ └── ms@0.7.1 │ │ ├─┬ fstream@1.0.10 │ │ │ ├── graceful-fs@4.1.6 │ │ │ └── inherits@2.0.1 │ │ ├─┬ fstream-ignore@1.0.5 │ │ │ ├── inherits@2.0.1 │ │ │ └─┬ minimatch@3.0.3 │ │ │ └─┬ brace-expansion@1.1.6 │ │ │ ├── balanced-match@0.4.2 │ │ │ └── concat-map@0.0.1 │ │ ├─┬ once@1.3.3 │ │ │ └── wrappy@1.0.2 │ │ ├─┬ readable-stream@2.1.5 │ │ │ ├── buffer-shims@1.0.0 │ │ │ ├── core-util-is@1.0.2 │ │ │ ├── inherits@2.0.1 │ │ │ ├── isarray@1.0.0 │ │ │ ├── process-nextick-args@1.0.7 │ │ │ ├── string_decoder@0.10.31 │ │ │ └── util-deprecate@1.0.2 │ │ └── uid-number@0.0.6 │ ├── bplist-parser@0.0.6 │ └─┬ debug@2.6.0 │ └── ms@0.7.2 ├─┬ mqtt@2.2.1 │ ├─┬ commist@1.0.0 │ │ └── leven@1.0.2 │ ├─┬ concat-stream@1.6.0 │ │ └── typedarray@0.0.6 │ ├─┬ end-of-stream@1.1.0 │ │ └─┬ once@1.3.3 │ │ └── wrappy@1.0.2 │ ├─┬ help-me@1.0.1 │ │ ├── callback-stream@1.1.0 │ │ ├─┬ glob-stream@5.3.5 │ │ │ ├── extend@3.0.0 │ │ │ ├─┬ glob@5.0.15 │ │ │ │ ├── inflight@1.0.6 │ │ │ │ ├─┬ minimatch@3.0.3 │ │ │ │ │ └─┬ brace-expansion@1.1.6 │ │ │ │ │ ├── balanced-match@0.4.2 │ │ │ │ │ └── concat-map@0.0.1 │ │ │ │ └── path-is-absolute@1.0.1 │ │ │ ├─┬ glob-parent@3.1.0 │ │ │ │ ├─┬ is-glob@3.1.0 │ │ │ │ │ └── is-extglob@2.1.1 │ │ │ │ └── path-dirname@1.0.2 │ │ │ ├─┬ micromatch@2.3.11 │ │ │ │ ├─┬ arr-diff@2.0.0 │ │ │ │ │ └── arr-flatten@1.0.1 │ │ │ │ ├── array-unique@0.2.1 │ │ │ │ ├─┬ braces@1.8.5 │ │ │ │ │ ├─┬ expand-range@1.8.2 │ │ │ │ │ │ └─┬ fill-range@2.2.3 │ │ │ │ │ │ ├── is-number@2.1.0 │ │ │ │ │ │ ├── isobject@2.1.0 │ │ │ │ │ │ ├── randomatic@1.1.6 │ │ │ │ │ │ └── repeat-string@1.6.1 │ │ │ │ │ ├── preserve@0.2.0 │ │ │ │ │ └── repeat-element@1.1.2 │ │ │ │ ├─┬ expand-brackets@0.1.5 │ │ │ │ │ └── is-posix-bracket@0.1.1 │ │ │ │ ├─┬ extglob@0.3.2 │ │ │ │ │ └── is-extglob@1.0.0 │ │ │ │ ├── filename-regex@2.0.0 │ │ │ │ ├── is-extglob@1.0.0 │ │ │ │ ├── is-glob@2.0.1 │ │ │ │ ├─┬ kind-of@3.1.0 │ │ │ │ │ └── is-buffer@1.1.4 │ │ │ │ ├── normalize-path@2.0.1 │ │ │ │ ├─┬ object.omit@2.0.1 │ │ │ │ │ ├─┬ for-own@0.1.4 │ │ │ │ │ │ └── for-in@0.1.6 │ │ │ │ │ └── is-extendable@0.1.1 │ │ │ │ ├─┬ parse-glob@3.0.4 │ │ │ │ │ ├─┬ glob-base@0.3.0 │ │ │ │ │ │ ├── glob-parent@2.0.0 │ │ │ │ │ │ └─┬ is-glob@2.0.1 │ │ │ │ │ │ └── is-extglob@1.0.0 │ │ │ │ │ ├── is-dotfile@1.0.2 │ │ │ │ │ ├── is-extglob@1.0.0 │ │ │ │ │ └── is-glob@2.0.1 │ │ │ │ └─┬ regex-cache@0.4.3 │ │ │ │ ├── is-equal-shallow@0.1.3 │ │ │ │ └── is-primitive@2.0.0 │ │ │ ├─┬ ordered-read-streams@0.3.0 │ │ │ │ └── is-stream@1.1.0 │ │ │ ├─┬ through2@0.6.5 │ │ │ │ └─┬ readable-stream@1.0.34 │ │ │ │ └── isarray@0.0.1 │ │ │ ├─┬ to-absolute-glob@0.1.1 │ │ │ │ └── extend-shallow@2.0.1 │ │ │ └─┬ unique-stream@2.2.1 │ │ │ ├─┬ json-stable-stringify@1.0.1 │ │ │ │ └── jsonify@0.0.0 │ │ │ └── through2-filter@2.0.0 │ │ └── through2@2.0.3 │ ├── inherits@2.0.3 │ ├── minimist@1.2.0 │ ├─┬ mqtt-packet@5.2.1 │ │ ├── bl@1.2.0 │ │ └── process-nextick-args@1.0.7 │ ├── pump@1.0.2 │ ├─┬ readable-stream@2.2.2 │ │ ├── buffer-shims@1.0.0 │ │ ├── core-util-is@1.0.2 │ │ ├── isarray@1.0.0 │ │ ├── string_decoder@0.10.31 │ │ └── util-deprecate@1.0.2 │ ├── reinterval@1.1.0 │ ├── split2@2.1.1 │ ├─┬ websocket-stream@3.3.3 │ │ ├─┬ duplexify@3.5.0 │ │ │ ├── end-of-stream@1.0.0 │ │ │ └── stream-shift@1.0.0 │ │ └─┬ ws@1.1.1 │ │ ├── options@0.0.6 │ │ └── ultron@1.0.2 │ └── xtend@4.0.1 └─┬ noble@1.7.0 └─┬ debug@2.2.0 └── ms@0.7.1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/bleno/node_modules/xpc-connection): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/noble/node_modules/xpc-connection): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN EspruinoHub@0.0.0 No repository field. npm WARN EspruinoHub@0.0.0 license should be a valid SPDX license expression pi@raspberrypi2:~/EspruinoHub $ pi@raspberrypi2:~/EspruinoHub $ cd .. pi@raspberrypi2:~ $ node -v v0.10.29 pi@raspberrypi2:~ $ sudo setcap cap_net_raw+eip $(eval readlink -f `which node`) pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ pi@raspberrypi2:~ $ cd EspruinoHub/ pi@raspberrypi2:~/EspruinoHub $ ./start.sh setterm: terminal xterm-256color does not support --blank /home/pi/EspruinoHub/node_modules/mqtt/lib/connect/index.js:100 const isSecure = ['mqtts', 'wss'].indexOf(opts.protocol) !== -1 ^^^^^ SyntaxError: Use of const in strict mode. at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (/home/pi/EspruinoHub/node_modules/mqtt/mqtt.js:12:15) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) pi@raspberrypi2:~/EspruinoHub $