Now I get:
pi@salgar:/usr/lib/node_modules/node-red/node_modules $ npm ls | grep mqtt
│ ├─┬ mqtt@4.2.5
│ │ ├── mqtt-packet@6.6.0 deduped
├─┬ mqtt@4.2.6
│ ├─┬ mqtt-packet@6.6.0
Now I get:
pi@salgar:/usr/lib/node_modules/node-red/node_modules $ npm ls | grep mqtt
│ ├─┬ mqtt@4.2.5
│ │ ├── mqtt-packet@6.6.0 deduped
├─┬ mqtt@4.2.6
│ ├─┬ mqtt-packet@6.6.0
Node-RED 1.2.6 is now available. You may want to just update to that in the normal way.
But we would also strongly recommend you get off Node 8 at some point in the near future. Assuming you use our script to install node.js and node-red on your Pi, then @dceejay can tell you how best to update (node.js) as I can never quite remember the right steps.
Indeed the latest script should update you to node 12 automatically (and as of 5 mins ago get you 1.2.6)
Does the script update Node 8 to Node 12 automatically? I thought if it found Node already installed it left it alone.
not for 8 (or 10) any more
Updating to 1.2.6 worked just fine. Thanks to everyone for your help!