# 🎉 Node-RED 1.3.1 released

**URL:** <https://discourse.nodered.org/t/node-red-1-3-1-released/43867>\
**Category:** News\
**Created:** [8 April 2021 14:19 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867 "2021-04-08T14:19:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [8 April 2021 14:19 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/1 "2021-04-08T14:19:44Z")

</div>

Node-RED 1.3.1 is now available.

Thanks to everyone who tested the beta and provided feedback.

Full details of the release on the blog:

> **[Version 1.3 released](https://nodered.org/blog/2021/04/08/version-1-3-released)**
>
> Find out more on the blog

---

<div class="post-metadata">

**Author:** ![cinhcet](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cinhcet/32/438_2.png) [@cinhcet](https://discourse.nodered.org/u/cinhcet)\
**Post date:** [8 April 2021 14:59 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/2 "2021-04-08T14:59:59Z")

</div>

Awesome!

The function node more and more weakens the need for creating a custom node.  
I wonder if at some point it makes sense to have editor widgets like a simple checkbox or an input field configurable on the setup tab of the function node....

---

<div class="post-metadata">

**Author:** ![aderici](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/aderici/32/37279_2.png) [@aderici](https://discourse.nodered.org/u/aderici)\
**Post date:** [8 April 2021 17:11 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/3 "2021-04-08T17:11:58Z")

</div>

Hey i just had a chance to read the details and i’m amazed by how node-red is improving day by day! Huge thanks to all who contributed to the release!

---

<div class="post-metadata">

**Author:** ![Shaquu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/shaquu/32/9701_2.png) [@Shaquu](https://discourse.nodered.org/u/Shaquu)\
**Post date:** [8 April 2021 17:37 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/4 "2021-04-08T17:37:03Z")

</div>

Remember that many users are not fluent in programming. I am happy to see plugin system. Export view also looks cool!

---

<div class="post-metadata">

**Author:** ![geoseph](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/geoseph/32/39526_2.png) [@geoseph](https://discourse.nodered.org/u/geoseph)\
**Post date:** [8 April 2021 20:09 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/5 "2021-04-08T20:09:26Z")

</div>

This is very cool to see, and also very nice of you @dceejay to have updated this too for 1.3:

> **[dceejay/electron-node-red](https://github.com/dceejay/electron-node-red)**
>
> Electron Node-RED template. Contribute to dceejay/electron-node-red development by creating an account on GitHub.

Looking forward to see how well this npm integration works in function nodes.

Thanks everyone!!!

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [8 April 2021 20:33 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/6 "2021-04-08T20:33:15Z")

</div>

note - the electron build is just a starter project - we (I) do not test in other than to check it builds and runs as is - Things like npm / projects / binary nodes may well need extra work to make work correctly - especially on other platforms. (And Pull requests to fix things gratefully accepted of course 🙂 )

---

<div class="post-metadata">

**Author:** ![chrisn-au](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chrisn-au/32/25504_2.png) [@chrisn-au](https://discourse.nodered.org/u/chrisn-au)\
**Post date:** [8 April 2021 22:06 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/7 "2021-04-08T22:06:41Z")

</div>

Guys, awesome stuff.

I have just upgraded trivslly (the truly gret benefit of docker)

```auto
9 Apr 07:51:04 - [info] Node-RED version: v1.3.1
9 Apr 07:51:04 - [info] Node.js version: v10.24.1
9 Apr 07:51:04 - [info] Linux 5.4.0-70-generic x64 LE
9 Apr 07:51:04 - [info] Loading palette nodes
9 Apr 07:51:05 - [info] Settings file : /data/settings.js
9 Apr 07:51:05 - [info] Context store : 'default' [module=memory]
9 Apr 07:51:05 - [info] User directory : /data
9 Apr 07:51:05 - [warn] Projects disabled : editorTheme.projects.enabled=false
9 Apr 07:51:05 - [info] Flows file : /data/flows.json
9 Apr 07:51:05 - [info] Server now running at http://127.0.0.1:1880/
9 Apr 07:51:05 - [warn] 

```

and have set

```auto
 functionExternalModules : true,

```

/data/settings.js

however I dont see the modules section in the function set up page

 ![Screen Shot 2021-04-09 at 8.05.28 am](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/f/ff4f391a604990a2380fbe6cce51a43ab004f163.png)

I must have done something silly but cant see it

Thanks

---

<div class="post-metadata">

**Author:** ![geoseph](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/geoseph/32/39526_2.png) [@geoseph](https://discourse.nodered.org/u/geoseph)\
**Post date:** [8 April 2021 22:06 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/8 "2021-04-08T22:06:45Z")

</div>

> [@dceejay](#):
>
> Things like npm / projects / binary nodes may well need extra work to make work correctly

This is the story of my life lol

---

<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:** [8 April 2021 22:12 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/9 "2021-04-08T22:12:12Z")

</div>

Have you restarted node-red after editing settings.js?  
Could you do a hard refresh of browser?  
Could you check browser console for any oddities?

I think I seen something on this recently (for the beta) but cant for the life of me find the post.

---

<div class="post-metadata">

**Author:** ![chrisn-au](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chrisn-au/32/25504_2.png) [@chrisn-au](https://discourse.nodered.org/u/chrisn-au)\
**Post date:** [8 April 2021 22:20 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/10 "2021-04-08T22:20:50Z")

</div>

Steve,

thanks - closed the safari tabs and reloaded and all good. Slightly embarrassed 😊

---

<div class="post-metadata">

**Author:** ![geoseph](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/geoseph/32/39526_2.png) [@geoseph](https://discourse.nodered.org/u/geoseph)\
**Post date:** [9 April 2021 03:38 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/11 "2021-04-09T03:38:41Z")

</div>

So I'm attempting a fresh setup with the Electron build and node-red 1.3:  
I set `functionExternalModules` as `true` as needed in settings.  
Ran via `yarn start` but I can't get the Setup tab in a Function node to reveal the Modules fields as expected for npm support.  
I'm running on windows 10, yarn version 1.22.5, node version 14.5.1

EDIT:  
I hit `Ctrl + Shift + I` to open console while on the Editor.  
then put in console: `RED.settings.functionExternalModules` which returned `false`

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/b/8bc4fbd1181ffc02c53a8d29e5a867279669ae49.png)

So then i set it true manually with: `RED.settings.functionExternalModules=true`  
reopened the test function node, and I could see the Modules field(s).

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/b/ebecb517e2efa4dc0f815d75f03f91d1344f3185.png)

And as I suspected this poses issues with actually using npm as I'm getting errors when attempting to use it (`"Error: Function node not allowed to load external modules"`)  
... so I'll wait for a reply before attempting to go further with npm integration/support testing)

Not sure where I should go from here but I'd appreciate any help.

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [9 April 2021 18:20 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/12 "2021-04-09T18:20:40Z")

</div>

Really liking the new 'function node' features, especially being able to add external modules for use in the node 👍  
I've just tried using a few packages, and found it very easy to use, and has opened up a whole lot of new opportunities for me 😁

I assume that removal of unused modules within `externalModules` is something that may be developed in the future, and until then we need to manually edit the externalModules package.json to remove the reference, delete the package, and restart node-RED.

---

<div class="post-metadata">

**Author:** ![RASelkirk](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/raselkirk/32/57425_2.png) [@RASelkirk](https://discourse.nodered.org/u/RASelkirk)\
**Post date:** [9 April 2021 20:14 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/13 "2021-04-09T20:14:12Z")

</div>

OK, I'm a dummy. My "upgrade", using the debian buster script gave no errors but when I type "node-red-start", I get the following:

```auto
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

Running Node-RED install for user pi at /home/pi on raspbian

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

  Stop Node-RED ✔
  Remove old version of Node-RED ✔
  Remove old version of Node.js -
  Leave existing Node.js - Node v12.22.1 Npm 6.14.12
  Clean npm cache -
  Install Node-RED core ✔   
  Move global nodes to local -
  Install extra Pi nodes ✔
  Npm rebuild existing nodes -
  Add shortcut commands ✔
  Update systemd script ✔
                                      

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 Fri 09 Apr 2021 03:02:56 PM CDT - Finished Fri 09 Apr 2021 03:03:53 PM CDT

pi@pigate:~ $ node-red-start

Node-RED is not yet fully installed. Please re-run the install script again manually.
 
   bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
 
then retry node-red-start

```

Tried the upgrade script first (fail), then ran `sudo apt update && sudo apt full-upgrade` as Colin suggested in the 1.31 SQlite thread, then reran the script. Same thing.

What next?

Russ

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [9 April 2021 20:33 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/14 "2021-04-09T20:33:05Z")

</div>

Have you looked at the install log? it provides more detail.  
`/var/log/nodered-install.log`

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [9 April 2021 21:10 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/15 "2021-04-09T21:10:59Z")

</div>

Are node.js and npm the version reported ? What does `node -v && npm -v` report ?  
Which version Pi is this on ?

---

<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:** [10 April 2021 08:10 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/16 "2021-04-10T08:10:34Z")

</div>

In particular have you possibly previously installed nvm (Node Version Manager, I think)? There are node-red tutorials out there that suggest that, and it messes up the install script.

---

<div class="post-metadata">

**Author:** ![RASelkirk](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/raselkirk/32/57425_2.png) [@RASelkirk](https://discourse.nodered.org/u/RASelkirk)\
**Post date:** [10 April 2021 12:47 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/17 "2021-04-10T12:47:14Z")

</div>

Apologies, I had other more pressing matters to attend to so I reloaded yesterday's (good) imagefile so I could get N-R back up.

I did look at the log but (as a rookie) couldn't make sense of it. I also tried to install the new version using the npm command and got something about broken dependencies.

I do remember the node.js and npm versions not being changed by the script, njs was 12.20x and npm was 6.14x.

Any words of wisdom on trying this upgrade again later?

Thanks!

Russ

---

<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:** [10 April 2021 13:24 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/18 "2021-04-10T13:24:07Z")

</div>

What do these show?  
`node -v`  
`npm -v`  
`which node`

Did you see the question asking if you have previously installed nvm?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [10 April 2021 13:26 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/19 "2021-04-10T13:26:29Z")

</div>

In your circumstance as you are on a decent level of nodejs you could just run `sudo npm i -g --unsafe-perm node-red@1.3.1` then restart it.

---

<div class="post-metadata">

**Author:** ![RASelkirk](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/raselkirk/32/57425_2.png) [@RASelkirk](https://discourse.nodered.org/u/RASelkirk)\
**Post date:** [10 April 2021 14:13 UTC](https://discourse.nodered.org/t/node-red-1-3-1-released/43867/20 "2021-04-10T14:13:28Z")

</div>

Colin, I had to do a DDG search for "nvm" as I had no idea what it even was. Now that I see what it is, it's not installed on my pi.

My non-upgraded previous system shows:  
`root@pigate:/home/pi# node -v v12.20.0`  
`root@pigate:/home/pi# npm -v 6.14.8`  
`root@pigate:/home/pi# which node /usr/bin/node `

dceejay, I'll try your suggestion later and see what it does.

Thanks!

Russ

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