# 🎉 Node-RED 3.1.0 released

**URL:** <https://discourse.nodered.org/t/node-red-3-1-0-released/81078>\
**Category:** News\
**Tags:** docker\
**Created:** [6 September 2023 13:53 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078 "2023-09-06T13:53:40Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [21 September 2023 18:27 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/42 "2023-09-21T18:27:00Z")

</div>

If you go into that folder in the container shell again, and run  
`npm install`  
It should install all the nodes you had installed, as defined by your package.json file.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [21 September 2023 18:28 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/43 "2023-09-21T18:28:33Z")

</div>

> [@RedBart](#):
>
> it appeared to install BigTimer rather than fail - but when I went into NodeRed it still wasn’t ther

Did you restart node red and refresh the browser page showing the editor?

---

<div class="post-metadata">

**Author:** ![RedBart](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/redbart/32/82990_2.png) [@RedBart](https://discourse.nodered.org/u/RedBart)\
**Post date:** [21 September 2023 20:24 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/44 "2023-09-21T20:24:30Z")

</div>

Hi Colin,

I spoke too soon, so far only the BigTimer has installed and that wad the only one I installed via the console and then via the pallet. When I try to install any of the other this is what I get….

2023-09-21T20:16:00.454Z Install : node-red-dashboard 3.6.0

2023-09-21T20:16:00.168Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-dashboard@3.6.0  
2023-09-21T20:16:00.931Z [err] npm  
2023-09-21T20:16:00.931Z [err] WARN config  
2023-09-21T20:16:00.932Z [err] production Use `--omit=dev` instead.  
2023-09-21T20:16:04.431Z [out]  
2023-09-21T20:16:04.431Z [out] changed 1 package in 4s  
2023-09-21T20:16:04.445Z rc=0

I tried the nom install command, it did not fail but it said this…

p to date, audited 301 packages in 2s

42 packages are looking for funding  
run `npm fund` for details

found 0 vulnerabilities  
npm notice  
npm notice New major version of npm available! 8.19.4 -\> 10.1.0  
npm notice Changelog: [https://github.com/npm/cli/releases/tag/v10.1.0](https://github.com/npm/cli/releases/tag/v10.1.0)  
npm notice Run npm install -g npm@10.1.0 to update!  
npm notice  
~ $

…no packages were re-inslalled, I did the restart and etc but it makes no difference. My package.json looks intact..

{  
"name": "node-red-project",  
"description": "A Node-RED Project",  
"version": "0.0.1",  
"private": true,  
"dependencies": {  
"node-red-contrib-alexa-home-skill": "~0.1.19",  
"node-red-contrib-alexa-local": "~0.3.24",  
"node-red-contrib-alexa-remote2-v2": "~3.10.5",  
"node-red-contrib-apple-find-me": "~1.1.8",  
"node-red-contrib-apple-findme-reloaded": "~0.1.8",  
"node-red-contrib-apple-tv-x": "~1.0.3",  
"node-red-contrib-bigtimer": "~2.8.5",  
"node-red-contrib-boolean-logic": "0.0.3",  
"node-red-contrib-chatgpt": "~0.1.0",  
"node-red-contrib-crypto-js-dynamic": "~0.1.22",  
"node-red-contrib-example-wibble": "file:node-red-contrib-wibble",  
"node-red-contrib-mikrotik": "~0.7.0",  
"node-red-contrib-moving-average": "~1.3.0",  
"node-red-contrib-os": "~0.2.1",  
"node-red-contrib-pythonshell": "~1.5.4",  
"node-red-contrib-remote": "~1.5.0",  
"node-red-contrib-ring-central": "~0.0.6",  
"node-red-contrib-ringdoorbell": "~2.0.0",  
"node-red-contrib-simple-crypto": "~1.0.1",  
"node-red-contrib-simple-gate": "~0.5.2",  
"node-red-contrib-spotify": "~0.1.4",  
"node-red-contrib-switch-break": "~1.0.2",  
"node-red-contrib-timerswitch": "~1.4.0",  
"node-red-contrib-tuya-local": "0.0.5",  
"node-red-contrib-tuya-smart-device": "~5.2.0",  
"node-red-contrib-ui-artless-gauge": "~0.3.12",  
"node-red-contrib-ui-button\_state": "~0.2.2",  
"node-red-contrib-ui-digital-display": "~1.0.3",  
"node-red-contrib-ui-led": "~0.4.11",  
"node-red-contrib-ui-level": "~0.1.46",  
"node-red-contrib-ui-ping": "~1.0.0",  
"node-red-contrib-ui-thermostat": "~1.0.0",  
"node-red-contrib-ui-time-scheduler": "~1.17.2",  
"node-red-contrib-uibuilder": "~6.4.1",  
"node-red-contrib-unifi": "~0.2.14",  
"node-red-contrib-web-worldmap": "~2.37.4",  
"node-red-dashboard": "~3.6.0",  
"node-red-node-email": "~2.0.1",  
"node-red-node-mysql": "~1.0.3",  
"node-red-node-openweathermap": "~0.5.1",  
"node-red-node-random": "~0.4.1",  
"node-red-node-ui-iframe": "~0.2.1",  
"node-red-node-ui-table": "~0.4.3",  
"thingzi-logic-timers": "~1.2.5"  
}  
}

…I’m going to try another package via the console install then pallet and see if it works that way again.

Thanks again for your help with this, I feel like I’m making some progress.

Nigel R

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [21 September 2023 21:16 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/45 "2023-09-21T21:16:31Z")

</div>

> [@RedBart](#):
>
> 2023-09-21T20:16:04.431Z [out] changed 1 package in 4s

That means it was already installed, and it upgraded something. Run  
`npm list`  
from the flows directory and it will tell you what nodes and modules are installed.

I think you need to find the node-red startup log, the one starting Welcome to Node Red, but I don't know how you see that in docker.

---

<div class="post-metadata">

**Author:** ![RedBart](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/redbart/32/82990_2.png) [@RedBart](https://discourse.nodered.org/u/RedBart)\
**Post date:** [22 September 2023 06:36 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/46 "2023-09-22T06:36:43Z")

</div>

Hi Colin,

I have used npm now to re-install everything I needed and it’s all working!!!

I cannot thank you enough, I was about to chuck it all away as unreliable crap and you gave me the pointer I needed brilliant!

It’s still a mystery as to why the V3 upgrade removed all of the pallet nodes but at least I know how to recover it all if it happens again.

Many thanks,

Nigel R

---

<div class="post-metadata">

**Author:** ![SonoraTechnical](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sonoratechnical/32/20033_2.png) [@SonoraTechnical](https://discourse.nodered.org/u/SonoraTechnical)\
**Post date:** [22 September 2023 23:56 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/47 "2023-09-22T23:56:08Z")

</div>

I'll just report that I'm successfully running Node-RED 3.1.0 w/ Node.js v18 on RaspPi4B 64bit Bullseye.

---

<div class="post-metadata">

**Author:** ![hazymat](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hazymat/32/108159_2.png) [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Post date:** [5 October 2023 22:11 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/48 "2023-10-05T22:11:36Z")

</div>

> [@SuperNinja](#):
>
> I usually use the keyboard shortcut CTRL-ENTER to save the node then CTRL-D to deploy the modifications.  
> Since v3.1.0, CTRL-ENTER in a FUNCTION node does a newline instead of "Confirm Edit Tray" and closes the node. Is there a setting for this or is it a bug?

I'm very reliant on the Ctrl-Enter shortcut as well. I understand this was a problem when Monaco was released into Node-RED and was subsequently solved - looks like the issue is back.

I have raised an issue [here](https://github.com/node-red/node-red/issues/4377), hopefully I got the details correct.

---

<div class="post-metadata">

**Author:** ![SuperNinja](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/superninja/32/5761_2.png) [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Post date:** [6 October 2023 12:51 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/49 "2023-10-06T12:51:54Z")

</div>

yes you are right, thank you for bringing this issue up

---

<div class="post-metadata">

**Author:** ![bwims](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bwims/32/64907_2.png) [@bwims](https://discourse.nodered.org/u/bwims)\
**Post date:** [12 October 2023 11:58 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/50 "2023-10-12T11:58:20Z")

</div>

Shame there's no video! I look forward to those!

---

<div class="post-metadata">

**Author:** ![nixilb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nixilb/32/83771_2.png) [@nixilb](https://discourse.nodered.org/u/nixilb)\
**Post date:** [15 October 2023 08:43 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/51 "2023-10-15T08:43:12Z")

</div>

Very useful! Thanks for the info! I need it for writing documentation.

---

<div class="post-metadata">

**Author:** ![championc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/championc/32/39754_2.png) [@championc](https://discourse.nodered.org/u/championc)\
**Post date:** [27 October 2023 19:15 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/52 "2023-10-27T19:15:31Z")

</div>

How can I roll back? My install self updated and it appears to have broken a HTTPS Get from MyEnergi.

---

<div class="post-metadata">

**Author:** ![juliomoraes23](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juliomoraes23/32/84191_2.png) [@juliomoraes23](https://discourse.nodered.org/u/juliomoraes23)\
**Post date:** [27 October 2023 19:43 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/53 "2023-10-27T19:43:13Z")

</div>

"TypeError: node.config.pgPool.connect is not a function"

postgresql config error application.

in version 3.0.2 my application worked normally.

My database configuration is by external variable.  
After updating to 3.1 I am receiving this error.  
Can someone help me?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [27 October 2023 19:45 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/54 "2023-10-27T19:45:02Z")

</div>

> [@juliomoraes23](#):
>
> My database configuration is by external variable.

Can you explain exactly what / how?

---

<div class="post-metadata">

**Author:** ![juliomoraes23](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juliomoraes23/32/84191_2.png) [@juliomoraes23](https://discourse.nodered.org/u/juliomoraes23)\
**Post date:** [27 October 2023 19:49 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/55 "2023-10-27T19:49:41Z")

</div>

> [@Steve-Mcl](#):
>
> Can you explain exactly what / how?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/c/fc1bac172a187e31e8c3a27ab73967fc18b6656c.png)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [27 October 2023 19:51 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/56 "2023-10-27T19:51:37Z")

</div>

So are these env vars still set?

Put the exact same env vars into an inject node & send it to a debug - are the values still present?

---

<div class="post-metadata">

**Author:** ![juliomoraes23](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juliomoraes23/32/84191_2.png) [@juliomoraes23](https://discourse.nodered.org/u/juliomoraes23)\
**Post date:** [27 October 2023 19:55 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/57 "2023-10-27T19:55:15Z")

</div>

> [@Steve-Mcl](#):
>
> So are these still set?
> 
> Put the exact same thing into an inject node & send it to a debug - are the values still present?

the values ​​are being printed normally in debug

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [27 October 2023 19:56 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/58 "2023-10-27T19:56:31Z")

</div>

Did you also upgrade nodejs? Do you know what version nodejs you had before and what version you have now?

---

<div class="post-metadata">

**Author:** ![juliomoraes23](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juliomoraes23/32/84191_2.png) [@juliomoraes23](https://discourse.nodered.org/u/juliomoraes23)\
**Post date:** [27 October 2023 20:01 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/59 "2023-10-27T20:01:07Z")

</div>

OLD version

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/2/a29f4946c8cf38e9bbcd4d9a357c7fd9fa387152.png)

new version

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/2/32b463a8d8ffc131cfd6ecd8d7f9996d5bf171db.png)

in both cases I work with the node-red docker image

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [27 October 2023 20:02 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/60 "2023-10-27T20:02:48Z")

</div>

Which postgres node are you using?

---

<div class="post-metadata">

**Author:** ![juliomoraes23](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juliomoraes23/32/84191_2.png) [@juliomoraes23](https://discourse.nodered.org/u/juliomoraes23)\
**Post date:** [27 October 2023 20:03 UTC](https://discourse.nodered.org/t/node-red-3-1-0-released/81078/61 "2023-10-27T20:03:41Z")

</div>

node-red-contrib-postgresql version 0.14

[Previous page](https://discourse.nodered.org/t/node-red-3-1-0-released/81078.md?page=2)

[Next page](https://discourse.nodered.org/t/node-red-3-1-0-released/81078.md?page=4)
