1 | pi@JojosRPi3-1:~ $ node-red-start
|
2 |
|
3 | Node-RED is not yet fully installed
|
4 |
|
5 | Fetching Node-RED update.
|
6 |
|
7 |
|
8 | This script will remove versions of Node.js prior to version 6.x, and Node-RED and
|
9 | if necessary replace them with Node.js 8.x LTS (carbon) and the latest Node-RED from Npm.
|
10 |
|
11 | It also moves any Node-RED nodes that are globally installed into your user
|
12 | ~/.node-red/node_modules directory, and adds them to your package.json, so that
|
13 | you can manage them with the palette manager.
|
14 |
|
15 | It also tries to run 'npm rebuild' to refresh any extra nodes you have installed
|
16 | that may have a native binary component. While this normally works ok, you need
|
17 | to check that it succeeds for your combination of installed nodes.
|
18 |
|
19 | To do all this it runs commands as root - please satisfy yourself that this will
|
20 | not damage your Pi, or otherwise compromise your configuration.
|
21 | If in doubt please backup your SD card first.
|
22 |
|
23 | Are you really sure you want to do this ? [y/N] ? y
|
24 |
|
25 |
|
26 | Running Node-RED update for user pi at /home/pi
|
27 |
|
28 | This can take 20-30 minutes on the slower Pi versions - please wait.
|
29 |
|
30 | Stop Node-RED ✔
|
31 | Remove old version of Node-RED ✔
|
32 | Remove old version of Node.js -
|
33 | Update Node.js LTS ✔ Node v9.7.1 Npm 5.6.0
|
34 | Clean npm cache ✔
|
35 | Install Node-RED core ✔ 0.18.7
|
36 | Move global nodes to local -
|
37 | Install extra Pi nodes -
|
38 | Npm rebuild existing nodes ✔
|
39 | Add menu shortcut ✔
|
40 | Update systemd script ✔
|
41 | id=Node-RED.desktop
|
42 | Update update script ✔
|
43 | Any errors will be logged to /var/log/nodered-install.log
|
44 |
|
45 |
|
46 | All done.
|
47 | You can now start Node-RED with the command node-red-start
|
48 | or using the icon under Menu / Programming / Node-RED
|
49 | Then point your browser to localhost:1880 or http://{your_pi_ip-address}:1880
|
50 |
|
51 | Started Fr 6. Jul 18:57:57 CEST 2018 - Finished Fr 6. Jul 19:00:35 CEST 2018
|
52 |
|
53 | Would you like to start Node-RED now (y/N) ? y
|
54 |
|
55 | Node-RED is not yet fully installed
|
56 |
|
57 | Fetching Node-RED update.
|