Flows stopped as no server

#1

Hi I have used Petes Scargills script and it all worked ok. i imported all my flows but when i deploy i get no flows stopped due to no server

mosquitto is running and node-red ir running

any help please
Nigel

0 Likes

#2

Can you copy and paste the entire log?

0 Likes

#3

how do i do that please

0 Likes

#4

Run node-red-log to see the log.

0 Likes

#5

pi@raspberrypi:~ pi@raspberrypi:~ node-red-log
-bash: pi@raspberrypi:~: command not found
pi@raspberrypi:~ -bash: node-red-log: command not found -bash: -bash:: command not found pi@raspberrypi:~ pi@raspberrypi:~ -bash: pi@raspberrypi:~: command not found pi@raspberrypi:~

0 Likes

#6

It would appear Petes script is missing a step

But if you have a terminal start node-red from there and copy and paste what is printed in that terminal

0 Likes

#7

pi@raspberrypi:~ $ node-red start
19 Jun 15:26:30 - [info]

Welcome to Node-RED

19 Jun 15:26:30 - [info] Node-RED version: v0.18.7
19 Jun 15:26:30 - [info] Node.js version: v6.14.3
19 Jun 15:26:30 - [info] Linux 4.14.34-v7+ arm LE
19 Jun 15:26:31 - [info] Loading palette nodes
19 Jun 15:26:34 - [info] RedBot version: 0.13.0 (node-red-contrib-chatbot)
node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
In the future, you will have to enable it yourself.
See https://github.com/yagop/node-telegram-bot-api/issues/319. module.js:577:32
19 Jun 15:26:41 - [info] Dashboard up and running
19 Jun 15:26:44 - [info] Dashboard version 2.9.4 started at /ui
19 Jun 15:26:46 - [info] Settings file : /home/pi/.node-red/settings.js
19 Jun 15:26:46 - [info] HTTP Static : /home/pi/.node-red/public
19 Jun 15:26:46 - [info] User directory : /home/pi/.node-red
19 Jun 15:26:46 - [warn] Projects disabled : editorTheme.projects.enabled=false
19 Jun 15:26:46 - [info] Flows file : /home/pi/.node-red/start
19 Jun 15:26:46 - [info] Creating new flow file
19 Jun 15:26:46 - [warn]


Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.

You should set your own key using the ‘credentialSecret’ option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.

19 Jun 15:26:46 - [info] Starting flows
19 Jun 15:26:46 - [info] Started flows
19 Jun 15:26:46 - [red] Uncaught Exception:
19 Jun 15:26:46 - Error: listen EADDRINUSE 0.0.0.0:1880
at Object.exports._errnoException (util.js:1020:11)
at exports._exceptionWithHostPort (util.js:1043:20)
at Server._listen2 (net.js:1271:14)
at listen (net.js:1307:10)
at net.js:1417:9
at _combinedTickCallback (internal/process/next_tick.js:83:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
pi@raspberrypi:~ $

0 Likes

#8

OK so you are already running something I assume its node-red on that port.
You need to stop that first.

Also to give you the node-red-log command you can install it with these two lines

sudo curl -sL -o /usr/bin/node-red-log https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/node-red-log 2>&1 | sudo tee -a /var/log/nodered-install.log >>/dev/null

sudo chmod +x /usr/bin/node-red-log

Taken from the Upgrade script listed here https://nodered.org/docs/hardware/raspberrypi

0 Likes

#9

I think node red is already running. Run node-red-stop first, then node-red-start

0 Likes

#10

19 Jun 15:39:18 - [info] Starting flows
19 Jun 15:39:18 - [info] Started flows
19 Jun 15:39:18 - [error] Unable to listen on http://127.0.0.1:1880/
19 Jun 15:39:18 - [error] Error: port in use
pi@raspberrypi:~ sudo curl -sL -o /usr/bin/node-red-log https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/node-red-log 2>&1 | sudo tee -a /var/log/nodered-install.log >>/dev/null pi@raspberrypi:~ sudo chmod +x /usr/bin/node-red-log
pi@raspberrypi:~ sudo curl -sL -o /usr/bin/node-red-log https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/node-red-log 2>&1 | sudo tee -a /var/log/nodered-install.log >>/dev/null pi@raspberrypi:~ sudo chmod +x /usr/bin/node-red-log
pi@raspberrypi:~ $ node-red start
19 Jun 15:40:42 - [info]

Welcome to Node-RED

19 Jun 15:40:42 - [info] Node-RED version: v0.18.7
19 Jun 15:40:42 - [info] Node.js version: v6.14.3
19 Jun 15:40:42 - [info] Linux 4.14.34-v7+ arm LE
19 Jun 15:40:43 - [info] Loading palette nodes
19 Jun 15:40:46 - [info] RedBot version: 0.13.0 (node-red-contrib-chatbot)
node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
In the future, you will have to enable it yourself.
See https://github.com/yagop/node-telegram-bot-api/issues/319. module.js:577:32
19 Jun 15:40:52 - [info] Dashboard up and running
19 Jun 15:40:55 - [info] Dashboard version 2.9.4 started at /ui
19 Jun 15:40:57 - [info] Settings file : /home/pi/.node-red/settings.js
19 Jun 15:40:57 - [info] HTTP Static : /home/pi/.node-red/public
19 Jun 15:40:57 - [info] User directory : /home/pi/.node-red
19 Jun 15:40:57 - [warn] Projects disabled : editorTheme.projects.enabled=false
19 Jun 15:40:57 - [info] Flows file : /home/pi/.node-red/start
19 Jun 15:40:57 - [info] Creating new flow file
19 Jun 15:40:57 - [warn]


Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.

You should set your own key using the ‘credentialSecret’ option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.

19 Jun 15:40:57 - [info] Starting flows
19 Jun 15:40:57 - [info] Started flows
19 Jun 15:40:57 - [red] Uncaught Exception:
19 Jun 15:40:57 - Error: listen EADDRINUSE 0.0.0.0:1880
at Object.exports._errnoException (util.js:1020:11)
at exports._exceptionWithHostPort (util.js:1043:20)
at Server._listen2 (net.js:1271:14)
at listen (net.js:1307:10)
at net.js:1417:9
at _combinedTickCallback (internal/process/next_tick.js:83:11

0 Likes

#11

i have copied the lines and stopped ans started node-red

0 Likes

#12

from

/usr/bin/node-red-log

#!/bin/bash
echo -e ‘\033]2;‘Node-RED log’\007’
echo " "
sudo journalctl -f -n 25 -u nodered -o cat

0 Likes

#13

from var/log/nodered-install.log

-bash: pi@raspberrypi:~: command not found
-bash: pi@raspberrypi:~: command not found

0 Likes

#14

Can I just check that you have run the node-red update command as described on https://nodered.org/docs/hardware/raspberrypi and that it ran without errors. It is odd that the node-red-log command was not installed.

0 Likes

#15

Colin no i havnt ran that command as i thought pets script installed it all , i am running the command now and will post back

thanks
nigel

0 Likes

#16

Running Node-RED update for user pi at /home/pi

This can take 20-30 minutes on the slower Pi versions - please wait.

Stop Node-RED :heavy_check_mark:
Remove old version of Node-RED :heavy_check_mark:
Remove old version of Node.js -
Update Node.js LTS :heavy_check_mark: Node v6.14.3 Npm 3.10.10
Clean npm cache :heavy_check_mark:
Install Node-RED core :heavy_check_mark: 0.18.7
Move global nodes to local -
Install extra Pi nodes -
Npm rebuild existing nodes :heavy_check_mark:
Add menu shortcut :heavy_check_mark:
Update systemd script :heavy_check_mark:
Update update script :heavy_check_mark:

Any errors will be logged to /var/log/nodered-install.log

All done.
You can now start Node-RED with the command node-red-start
or using the icon under Menu / Programming / Node-RED
Then point your browser to localhost:1880 or http://{your_pi_ip-address}:1880

Started Tue 19 Jun 16:06:04 UTC 2018 - Finished Tue 19 Jun 16:09:53 UTC 2018

pi@raspberrypi:~ $

0 Likes

#17

-bash: pi@raspberrypi:~: command not found
-bash: pi@raspberrypi:~: command not found


Started : Tue 19 Jun 16:06:04 UTC 2018
Running for user pi at /home/pi
Found global nodes: :
Reading package lists…
Building dependency tree…
Reading state information…
Package ‘nodered’ is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Reading package lists…
Building dependency tree…
Reading state information…
nodejs is already the newest version (6.14.3-1nodesource1).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
npm WARN using --force I sure hope you know what you are doing.
npm WARN deprecated bcrypt@1.0.3: bcrypt < v2.0.0 is susceptible to bcrypt wrap-around bug. Upgrade to bcrypt >= v2.0.0 for improved support for newer bcrypt hashes
npm WARN deprecated i18next-client@1.10.3: you can use npm install i18next from version 2.0.0
npm WARN deprecated mailparser@0.6.2: This project is unmaintained
npm WARN deprecated nodemailer@1.11.0: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/
npm WARN deprecated mimelib@0.3.1: This project is unmaintained
npm WARN deprecated mailcomposer@2.1.0: This project is unmaintained
npm WARN deprecated buildmail@2.0.0: This project is unmaintained
/usr/bin/node-red -> /usr/lib/node_modules/node-red/red.js
/usr/bin/node-red-pi -> /usr/lib/node_modules/node-red/bin/node-red-pi

bcrypt@1.0.3 install /usr/lib/node_modules/node-red/node_modules/bcrypt
node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.3/bcrypt_lib-v1.0.3-node-v48-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for bcrypt@1.0.3 and node@6.14.3 (node-v48 ABI) (falling back to source compile with node-gyp)
make: Entering directory ‘/usr/lib/node_modules/node-red/node_modules/bcrypt/build’
CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node
COPY Release/bcrypt_lib.node
COPY /usr/lib/node_modules/node-red/node_modules/bcrypt/lib/binding/bcrypt_lib.node
TOUCH Release/obj.target/action_after_build.stamp
make: Leaving directory ‘/usr/lib/node_modules/node-red/node_modules/bcrypt/build’
/usr/lib
└─┬ node-red@0.18.7
├─┬ basic-auth@2.0.0
│ └── safe-buffer@5.1.1
├─┬ bcrypt@1.0.3
│ ├── nan@2.6.2
│ └─┬ node-pre-gyp@0.6.36
│ ├─┬ npmlog@4.1.2
│ │ ├─┬ are-we-there-yet@1.1.5
│ │ │ └── delegates@1.0.0
│ │ ├── console-control-strings@1.1.0
│ │ ├─┬ gauge@2.7.4
│ │ │ ├── aproba@1.2.0
│ │ │ ├── has-unicode@2.0.1
│ │ │ ├── signal-exit@3.0.2
│ │ │ ├─┬ string-width@1.0.2
│ │ │ │ ├── code-point-at@1.1.0
│ │ │ │ └─┬ is-fullwidth-code-point@1.0.0
│ │ │ │ └── number-is-nan@1.0.1
│ │ │ ├─┬ strip-ansi@3.0.1
│ │ │ │ └── ansi-regex@2.1.1
│ │ │ └── wide-align@1.1.3
│ │ └── set-blocking@2.0.0
│ ├─┬ rc@1.2.8
│ │ ├── deep-extend@0.6.0
│ │ ├── ini@1.3.5
│ │ ├── minimist@1.2.0
│ │ └── strip-json-comments@2.0.1
│ ├─┬ rimraf@2.6.2
│ │ └─┬ glob@7.1.2
│ │ ├── fs.realpath@1.0.0
│ │ ├── inflight@1.0.6
│ │ ├─┬ minimatch@3.0.4
│ │ │ └─┬ brace-expansion@1.1.11
│ │ │ ├── balanced-match@1.0.0
│ │ │ └── concat-map@0.0.1
│ │ └── path-is-absolute@1.0.1
│ ├─┬ tar@2.2.1
│ │ ├── block-stream@0.0.9
│ │ └── fstream@1.0.11
│ └─┬ tar-pack@3.4.1
│ ├── fstream-ignore@1.0.5
│ └── uid-number@0.0.6
├── bcryptjs@2.4.3
├─┬ body-parser@1.18.3
│ ├── bytes@3.0.0
│ ├── content-type@1.0.4
│ ├─┬ debug@2.6.9
│ │ └── ms@2.0.0
│ ├── depd@1.1.2
│ ├─┬ http-errors@1.6.3
│ │ └── statuses@1.5.0
│ ├─┬ iconv-lite@0.4.23
│ │ └── safer-buffer@2.1.2
│ ├─┬ on-finished@2.3.0
│ │ └── ee-first@1.1.1
│ ├── qs@6.5.2
│ └─┬ type-is@1.6.16
│ └─┬ mime-types@2.1.18
│ └── mime-db@1.33.0
├─┬ cheerio@0.22.0
│ ├─┬ css-select@1.2.0
│ │ ├── boolbase@1.0.0
│ │ ├── css-what@2.1.0
│ │ ├── domutils@1.5.1
│ │ └── nth-check@1.0.1
│ ├─┬ dom-serializer@0.1.0
│ │ └── domelementtype@1.1.3
│ ├── entities@1.1.1
│ ├─┬ htmlparser2@3.9.2
│ │ ├── domelementtype@1.3.0
│ │ └── domhandler@2.4.2
│ ├── lodash.assignin@4.2.0
│ ├── lodash.bind@4.2.1
│ ├── lodash.defaults@4.2.0
│ ├── lodash.filter@4.6.0
│ ├── lodash.flatten@4.4.0
│ ├── lodash.foreach@4.5.0
│ ├── lodash.map@4.6.0
│ ├── lodash.merge@4.6.1
│ ├── lodash.pick@4.4.0
│ ├── lodash.reduce@4.6.0
│ ├── lodash.reject@4.6.0
│ └── lodash.some@4.6.0
├── clone@2.1.1
├── cookie@0.3.1
├─┬ cookie-parser@1.4.3
│ └── cookie-signature@1.0.6
├─┬ cors@2.8.4
│ ├── object-assign@4.1.1
│ └── vary@1.1.2
├─┬ cron@1.3.0
│ └─┬ moment-timezone@0.5.20
│ └── moment@2.22.2
├─┬ express@4.16.3
│ ├─┬ accepts@1.3.5
│ │ └── negotiator@0.6.1
│ ├── array-flatten@1.1.1
│ ├─┬ body-parser@1.18.2
│ │ ├── iconv-lite@0.4.19
│ │ └─┬ raw-body@2.3.2
│ │ └─┬ http-errors@1.6.2
│ │ ├── depd@1.1.1
│ │ └── setprototypeof@1.0.3
│ ├── content-disposition@0.5.2
│ ├── encodeurl@1.0.2
│ ├── escape-html@1.0.3
│ ├── etag@1.8.1
│ ├─┬ finalhandler@1.1.1
│ │ └── statuses@1.4.0
│ ├── fresh@0.5.2
│ ├── merge-descriptors@1.0.1
│ ├── methods@1.1.2
│ ├── parseurl@1.3.2
│ ├── path-to-regexp@0.1.7
│ ├─┬ proxy-addr@2.0.3
│ │ ├── forwarded@0.1.2
│ │ └── ipaddr.js@1.6.0
│ ├── qs@6.5.1
│ ├── range-parser@1.2.0
│ ├─┬ send@0.16.2
│ │ ├── destroy@1.0.4
│ │ ├── mime@1.4.1
│ │ └── statuses@1.4.0
│ ├── serve-static@1.13.2
│ ├── setprototypeof@1.1.0
│ ├── statuses@1.4.0
│ └── utils-merge@1.0.1
├─┬ express-session@1.15.6
│ ├── crc@3.4.4
│ └─┬ uid-safe@2.1.5
│ └── random-bytes@1.0.0
├─┬ follow-redirects@1.4.1
│ └── debug@3.1.0
├─┬ fs-extra@5.0.0
│ ├── graceful-fs@4.1.11
│ ├── jsonfile@4.0.0
│ └── universalify@0.1.1
├─┬ fs.notify@0.0.4
│ ├── async@0.1.22
│ └── retry@0.6.1
├── hash-sum@1.0.2
├─┬ i18next@1.10.6
│ ├─┬ cookies@0.7.1
│ │ └── keygrip@1.0.2
│ ├── i18next-client@1.10.3
│ └── json5@0.2.0
├── is-utf8@0.2.1
├─┬ js-yaml@3.11.0
│ ├─┬ argparse@1.0.10
│ │ └── sprintf-js@1.0.3
│ └── esprima@4.0.0
├── json-stringify-safe@5.0.1
├── jsonata@1.5.4
├── media-typer@0.3.0
├─┬ memorystore@1.6.0
│ ├── debug@3.1.0
│ └─┬ lru-cache@4.1.3
│ ├── pseudomap@1.0.2
│ └── yallist@2.1.2
├─┬ mqtt@2.18.0
│ ├─┬ commist@1.0.0
│ │ ├── leven@1.0.2
│ │ └── minimist@1.2.0
│ ├─┬ concat-stream@1.6.2
│ │ ├── buffer-from@1.1.0
│ │ └── typedarray@0.0.6
│ ├─┬ end-of-stream@1.4.1
│ │ └─┬ once@1.4.0
│ │ └── wrappy@1.0.2
│ ├─┬ help-me@1.1.0
│ │ ├── callback-stream@1.1.0
│ │ ├─┬ glob-stream@6.1.0
│ │ │ ├─┬ glob-parent@3.1.0
│ │ │ │ ├─┬ is-glob@3.1.0
│ │ │ │ │ └── is-extglob@2.1.1
│ │ │ │ └── path-dirname@1.0.2
│ │ │ ├── is-negated-glob@1.0.0
│ │ │ ├── ordered-read-streams@1.0.1
│ │ │ ├─┬ pumpify@1.5.1
│ │ │ │ └── pump@2.0.1
│ │ │ ├── remove-trailing-separator@1.1.0
│ │ │ ├─┬ to-absolute-glob@2.0.2
│ │ │ │ └─┬ is-absolute@1.0.0
│ │ │ │ ├─┬ is-relative@1.0.0
│ │ │ │ │ └─┬ is-unc-path@1.0.0
│ │ │ │ │ └── unc-path-regex@0.1.2
│ │ │ │ └── is-windows@1.0.2
│ │ │ └─┬ 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.6.0
│ │ ├── bl@1.2.2
│ │ └── process-nextick-args@2.0.0
│ ├── pump@3.0.0
│ ├─┬ readable-stream@2.3.6
│ │ ├── core-util-is@1.0.2
│ │ ├── isarray@1.0.0
│ │ ├── string_decoder@1.1.1
│ │ └── util-deprecate@1.0.2
│ ├── reinterval@1.1.0
│ ├── split2@2.2.0
│ ├─┬ websocket-stream@5.1.2
│ │ ├─┬ duplexify@3.6.0
│ │ │ └── stream-shift@1.0.0
│ │ └─┬ ws@3.3.3
│ │ ├── async-limiter@1.0.0
│ │ └── ultron@1.1.1
│ └── xtend@4.0.1
├─┬ multer@1.3.0
│ ├── append-field@0.1.0
│ ├─┬ busboy@0.2.14
│ │ ├─┬ dicer@0.2.5
│ │ │ ├─┬ readable-stream@1.1.14
│ │ │ │ ├── isarray@0.0.1
│ │ │ │ └── string_decoder@0.10.31
│ │ │ └── streamsearch@0.1.2
│ │ └─┬ readable-stream@1.1.14
│ │ ├── isarray@0.0.1
│ │ └── string_decoder@0.10.31
│ ├─┬ mkdirp@0.5.1
│ │ └── minimist@0.0.8
│ └── object-assign@3.0.0
├── mustache@2.3.0
├─┬ node-red-node-email@0.1.29
│ ├─┬ imap@0.8.19
│ │ ├─┬ readable-stream@1.1.14
│ │ │ ├── isarray@0.0.1
│ │ │ └── string_decoder@0.10.31
│ │ └─┬ utf7@1.0.2
│ │ └── semver@5.3.0
│ ├─┬ mailparser@0.6.2
│ │ ├── encoding@0.1.12
│ │ ├── mimelib@0.3.1
│ │ └─┬ uue@3.1.2
│ │ └── escape-string-regexp@1.0.5
│ ├─┬ nodemailer@1.11.0
│ │ ├─┬ libmime@1.2.0
│ │ │ ├── libbase64@0.1.0
│ │ │ └── libqp@1.1.0
│ │ ├─┬ mailcomposer@2.1.0
│ │ │ └─┬ buildmail@2.0.0
│ │ │ ├── addressparser@0.3.2
│ │ │ └── needle@0.10.0
│ │ ├── needle@0.11.0
│ │ ├─┬ nodemailer-direct-transport@1.1.0
│ │ │ └── smtp-connection@1.3.8
│ │ └─┬ nodemailer-smtp-transport@1.1.0
│ │ ├── clone@1.0.4
│ │ └── nodemailer-wellknown@0.1.10
│ └─┬ poplib@0.1.7
│ └─┬ optimist@0.6.1
│ └── wordwrap@0.0.3
├─┬ node-red-node-feedparser@0.1.12
│ ├─┬ feedparser@2.2.9
│ │ ├── addressparser@1.0.1
│ │ ├── array-indexofobject@0.0.1
│ │ ├── lodash.assign@4.2.0
│ │ ├── lodash.get@4.4.2
│ │ ├── lodash.has@4.5.2
│ │ ├── lodash.uniq@4.5.0
│ │ └── mri@1.1.1
│ └─┬ request@2.87.0
│ ├── aws-sign2@0.7.0
│ ├── aws4@1.7.0
│ ├── caseless@0.12.0
│ ├─┬ combined-stream@1.0.6
│ │ └── delayed-stream@1.0.0
│ ├── extend@3.0.1
│ ├── forever-agent@0.6.1
│ ├─┬ form-data@2.3.2
│ │ └── asynckit@0.4.0
│ ├─┬ har-validator@5.0.3
│ │ ├─┬ ajv@5.5.2
│ │ │ ├── co@4.6.0
│ │ │ ├── fast-deep-equal@1.1.0
│ │ │ ├── fast-json-stable-stringify@2.0.0
│ │ │ └── json-schema-traverse@0.3.1
│ │ └── har-schema@2.0.0
│ ├─┬ http-signature@1.2.0
│ │ ├── assert-plus@1.0.0
│ │ ├─┬ jsprim@1.4.1
│ │ │ ├── extsprintf@1.3.0
│ │ │ ├── json-schema@0.2.3
│ │ │ └── verror@1.10.0
│ │ └─┬ sshpk@1.14.2
│ │ ├── asn1@0.2.3
│ │ ├── bcrypt-pbkdf@1.0.1
│ │ ├── dashdash@1.14.1
│ │ ├── ecc-jsbn@0.1.1
│ │ ├── getpass@0.1.7
│ │ ├── jsbn@0.1.1
│ │ └── tweetnacl@0.14.5
│ ├── is-typedarray@1.0.0
│ ├── isstream@0.1.2
│ ├── oauth-sign@0.8.2
│ ├── performance-now@2.1.0
│ ├─┬ tough-cookie@2.3.4
│ │ └── punycode@1.4.1
│ ├── tunnel-agent@0.6.0
│ └── uuid@3.2.1
├── node-red-node-rbe@0.2.3
├─┬ node-red-node-twitter@1.0.1
│ ├── oauth@0.9.14
│ └── twitter-ng@0.6.2
├─┬ nopt@4.0.1
│ ├── abbrev@1.1.1
│ └─┬ osenv@0.1.5
│ ├── os-homedir@1.0.2
│ └── os-tmpdir@1.0.2
├─┬ oauth2orize@1.11.0
│ └── uid2@0.0.3
├── on-headers@1.0.1
├─┬ passport@0.4.0
│ ├── passport-strategy@1.0.0
│ └── pause@0.0.1
├── passport-http-bearer@1.0.1
├── passport-oauth2-client-password@0.1.2
├─┬ raw-body@2.3.3
│ └── unpipe@1.0.0
├── semver@5.5.0
├── sentiment@2.1.0
├─┬ uglify-js@3.3.25
│ ├── commander@2.15.1
│ └── source-map@0.6.1
├── when@3.7.8
├─┬ ws@1.1.5
│ ├── options@0.0.6
│ └── ultron@1.0.2
└─┬ xml2js@0.4.19
├── sax@1.2.4
└── xmlbuilder@9.0.7

0.18.7

node-red-dashboard@2.9.4 postinstall /home/pi/.node-red/node_modules/node-red-dashboard
node fixfa.js

serialport@6.0.5 install /home/pi/.node-red/node_modules/serialport
prebuild-install || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=6.14.3 runtime=node arch=arm platform=linux)
make: Entering directory ‘/home/pi/.node-red/node_modules/serialport/build’
CXX(target) Release/obj.target/serialport/src/serialport.o
…/src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
…/src/serialport.cpp:95:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(2, argv);
^
In file included from …/src/./serialport.h:6:0,
from …/src/serialport.cpp:1:
…/…/nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
…/src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t
)’:
…/src/serialport.cpp:150:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from …/src/./serialport.h:6:0,
from …/src/serialport.cpp:1:
…/…/nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
…/src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t
)’:
…/src/serialport.cpp:188:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from …/src/./serialport.h:6:0,
from …/src/serialport.cpp:1:
…/…/nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
…/src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t
)’:
…/src/serialport.cpp:231:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from …/src/./serialport.h:6:0,
from …/src/serialport.cpp:1:
…/…/nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
…/src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t
)’:
…/src/serialport.cpp:285:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from …/src/./serialport.h:6:0,
from …/src/serialport.cpp:1:
…/…/nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
…/src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t
)’:
…/src/serialport.cpp:336:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(2, argv);
^
In file included from …/src/./serialport.h:6:0,
from …/src/serialport.cpp:1:
…/…/nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
…/src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t
)’:
…/src/serialport.cpp:377:30: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
data->callback.Call(1, argv);
^
In file included from …/src/./serialport.h:6:0,
from …/src/serialport.cpp:1:
…/…/nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
CXX(target) Release/obj.target/serialport/src/serialport_unix.o
CXX(target) Release/obj.target/serialport/src/poller.o
…/src/poller.cpp: In static member function ‘static void Poller::onData(uv_poll_t
, int, int)’:
…/src/poller.cpp:69:29: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value*) const’ is deprecated [-Wdeprecated-declarations]
obj->callback.Call(2, argv);
^
In file included from …/src/poller.cpp:1:0:
…/…/nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
SOLINK_MODULE(target) Release/obj.target/serialport.node
COPY Release/serialport.node
make: Leaving directory ‘/home/pi/.node-red/node_modules/serialport/build’

i2c-bus@3.2.0 install /home/pi/.node-red/node_modules/i2c-bus
node-gyp rebuild

make: Entering directory ‘/home/pi/.node-red/node_modules/i2c-bus/build’
CXX(target) Release/obj.target/i2c/src/i2c.o
SOLINK_MODULE(target) Release/obj.target/i2c.node
COPY Release/i2c.node
make: Leaving directory ‘/home/pi/.node-red/node_modules/i2c-bus/build’
npm WARN prefer global npm@2.15.12 should be installed with -g

0 Likes

#18

Ok All

looks like i made a complate Noob of myself i removed the missing server flow from configuration modes redelyoed and it now works

can i say a big thanks who helped and sorry for wasting your time

regards

Nigel

0 Likes

#19

I'm confused on how this problem was fixed, how did you do this?
Sorry, and thanks!

0 Likes