# Rpm installer script degrades npm \[FIXED\]

**URL:** <https://discourse.nodered.org/t/rpm-installer-script-degrades-npm-fixed/29952>\
**Category:** General\
**Created:** [12 July 2020 14:02 UTC](https://discourse.nodered.org/t/rpm-installer-script-degrades-npm-fixed/29952 "2020-07-12T14:02:33Z")\
**Posts on this page:** 5\
**Page:** 1

<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:** [12 July 2020 14:02 UTC](https://discourse.nodered.org/t/rpm-installer-script-degrades-npm-fixed/29952/1 "2020-07-12T14:02:33Z")

</div>

I'm running node-RED in a Oracle Linux VM - Linux v4.14.35 which was installed [using this node-RED script](https://raw.githubusercontent.com/node-red/linux-installers/master/rpm/update-nodejs-and-nodered).  
I updated to NR v1.1.0 a few days ago using the script and wanted to start using the 'https certificate refresh' feature, which required node.js v11+.  
The latest version of node.js in the 'nodesource' repo is v10.21.0, so I had to use the [Oracle recommended repo](https://yum.oracle.com/oracle-linux-nodejs.html) and updated to node v12.18.2.

```auto
[opc@digitalnut log]$ node -v
v12.18.2

```

So far so good.

However, ran the installer script again this morning to get NR v1.1.2 and unfortunately the script installed node.js v10.21.0, which in turn stopped the 'https certificate refresh' from working!!

```auto
[opc@digitalnut ~]$ node -v
v10.21.0

```

Should this happen?

The install log shows;

```auto
--> Running transaction check
---> Package nodejs.x86_64 0:12.18.2-1.0.1.el7 will be updated
---> Package nodejs.x86_64 2:10.21.0-1nodesource will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package Arch Version Repository Size
================================================================================
Updating:
 nodejs x86_64 2:10.21.0-1nodesource nodesource 20 M

Transaction Summary
================================================================================

```

---

<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:** [12 July 2020 17:22 UTC](https://discourse.nodered.org/t/rpm-installer-script-degrades-npm-fixed/29952/2 "2020-07-12T17:22:45Z")

</div>

ah sorry - haven't updated that in a while - new version pushed that defaults to node12

---

<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:** [12 July 2020 18:19 UTC](https://discourse.nodered.org/t/rpm-installer-script-degrades-npm-fixed/29952/3 "2020-07-12T18:19:28Z")

</div>

Working fine now, thanks.

---

<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:** [12 July 2020 19:48 UTC](https://discourse.nodered.org/t/rpm-installer-script-degrades-npm-fixed/29952/4 "2020-07-12T19:48:55Z")

</div>

Thanks for spotting it

---

<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:** [26 July 2020 19:49 UTC](https://discourse.nodered.org/t/rpm-installer-script-degrades-npm-fixed/29952/5 "2020-07-26T19:49:00Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
