# Error rc217 or 247. When installing, deleting, updating nodes

**URL:** https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887
**Category:** General
**Created:** [9 March 2025 14:22 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887 "2025-03-09T14:22:33Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Alex\_engineer](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Alex\_engineer](https://discourse.nodered.org/u/Alex_engineer)
#### Post date: [9 March 2025 14:22 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/1 "2025-03-09T14:22:33Z")

</div>

Hello. I have this error

```auto
npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --omit=dev --engine-strict @node-red-contrib-themes/theme-collection@4.0.11
 rc=217

```

when installing, deleting, updating nodes. Can someone help me solve this problem? This happens for each node.

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [9 March 2025 15:42 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/2 "2025-03-09T15:42:24Z")

</div>

Welcome to the forum @Alex_engineer.

What operating system are you running Node-red on?  
Are you using Docker?

---

<div class="post-metadata">

### Author: ![Alex\_engineer](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Alex\_engineer](https://discourse.nodered.org/u/Alex_engineer)
#### Post date: [9 March 2025 15:57 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/3 "2025-03-09T15:57:56Z")

</div>

Ubuntu 22.04. Docker not used

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [9 March 2025 16:13 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/4 "2025-03-09T16:13:40Z")

</div>

Try this:

```auto
cd ~/.node-red
rm package-lock.json
mv node_modules node_modules.old
npm install

```

It should re-install all of your nodes.  
If you get any error messages, please show us.

---

<div class="post-metadata">

### Author: ![Alex\_engineer](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Alex\_engineer](https://discourse.nodered.org/u/Alex_engineer)
#### Post date: [9 March 2025 16:25 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/5 "2025-03-09T16:25:42Z")

</div>

Ok, I'll try this

---

<div class="post-metadata">

### Author: ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)
#### Post date: [9 March 2025 16:27 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/6 "2025-03-09T16:27:12Z")

</div>

This may be because you have tried to install multiple nodes in parallel (not waiting for a long running install to finish fully before installing another node).

run

```auto
npm cache clean --force

```

on the command line.

---

<div class="post-metadata">

### Author: ![Alex\_engineer](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Alex\_engineer](https://discourse.nodered.org/u/Alex_engineer)
#### Post date: [9 March 2025 17:40 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/7 "2025-03-09T17:40:40Z")

</div>

This results in an error rc=247

> "2025-03-09T17:35:26.566Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --omit=dev --engine-strict node-red-contrib-miio-humidifier@0.9.5  
> 2025-03-09T17:35:36.895Z rc=247"

The folder with the installed node is present in the .nodered folder, but the node is missing from the installed nodes panel

---

<div class="post-metadata">

### Author: ![Alex\_engineer](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Alex\_engineer](https://discourse.nodered.org/u/Alex_engineer)
#### Post date: [9 March 2025 17:41 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/8 "2025-03-09T17:41:50Z")

</div>

I did the same, it doesn't help

---

<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: [9 March 2025 21:37 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/9 "2025-03-09T21:37:00Z")

</div>

Did this work previously, or is this the first time you have tried to install nodes?

What do these commands show?  
`which node`  
`which npm`  
`node -v`  
`npm -v`  
`apt policy nodejs`  
`apt policy npm`

---

<div class="post-metadata">

### Author: ![Alex\_engineer](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Alex\_engineer](https://discourse.nodered.org/u/Alex_engineer)
#### Post date: [10 March 2025 08:20 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/10 "2025-03-10T08:20:02Z")

</div>

Everything worked before

```auto
/home/alex/.nvm/versions/node/v20.16.0/bin/node
/home/alex/.nvm/versions/node/v20.16.0/bin/npm
v20.16.0
10.9.2
nodejs:
  Installed: (missing)
  Candidate: 12.22.9~dfsg-1ubuntu3.6
  Version table:
     12.22.9~dfsg-1ubuntu3.6 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages
     12.22.9~dfsg-1ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
npm:
  Installed: (missing)
  Candidate: 8.5.1~ds-1
  Version table:
     8.5.1~ds-1 500
        500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy/universe i386 Packages
        100 /var/lib/dpkg/status

```

---

<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 March 2025 08:40 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/11 "2025-03-10T08:40:42Z")

</div>

I see you did not install using the [recommended install script for Debian based systems](https://nodered.org/docs/getting-started/raspberrypi).

The problem with using nvm, as you have, is the the versions of nodejs and nvm in use can vary dependent on the circumstance, which is why it is not recommended to use it with node-red.

My recommendation would be to get rid of nvm entirely (making sure to delete the .nvm folder) and re-install using the recommended script. You should not lose your existing flows when you do that, but of course you do have that all backed up anyway, just in case.

---

<div class="post-metadata">

### Author: ![Alex\_engineer](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Alex\_engineer](https://discourse.nodered.org/u/Alex_engineer)
#### Post date: [10 March 2025 09:00 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/12 "2025-03-10T09:00:17Z")

</div>

My system runs on ubuntu 22.04. Version node red 4.0.9. Recommended script for Debian system. Deleting a folder .nvm and re-installing the global installation did not lead to anything. Before all the actions taken from your recommendations, the cronplus node disappeared from the nodered panel, but its folders in .node-red remained. And the folders of newly installed nodes also appear, but are missing from the nodes panel

---

<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 March 2025 10:14 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/13 "2025-03-10T10:14:58Z")

</div>

> [@Alex\_engineer](#):
>
> Recommended script for Debian system.

It is for all Debian based systems. On the page linked it says  
This script will work on any **Debian-based** operating system, including **Ubuntu**

> [@Alex\_engineer](#):
>
> Deleting a folder .nvm and re-installing the global installation did not lead to anything

What do you mean by re-installing the global installation? Did you use the script?

What do the commands I asked for previously show now?

---

<div class="post-metadata">

### Author: ![Alex\_engineer](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Alex\_engineer](https://discourse.nodered.org/u/Alex_engineer)
#### Post date: [11 March 2025 17:55 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/14 "2025-03-11T17:55:15Z")

</div>

Installing with a script did not solve the problem, I also get an error rc=217

```auto
Stop Node-RED ✔
  Remove old version of Node-RED ✔
  Node option not specified : --node18 or --node20
  Leave existing Node.js : v20.18.3 Npm 10.8.2
  Clean npm cache -
  Install Node-RED core ✔ 4.0.9
  Move global nodes to local -
  Leave existing nodes -
  Install extra Pi nodes ✔
  Add shortcut commands ✔
  Update systemd script ✔

```

---

<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: [11 March 2025 18:14 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/15 "2025-03-11T18:14:39Z")

</div>

You didn't answer the question:  
What do the commands I asked for previously show now?

---

<div class="post-metadata">

### Author: ![Alex\_engineer](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Alex\_engineer](https://discourse.nodered.org/u/Alex_engineer)
#### Post date: [11 March 2025 18:23 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/16 "2025-03-11T18:23:12Z")

</div>

Sorry

```auto
/home/alex/.nvm/versions/node/v20.16.0/bin/node
/home/alex/.nvm/versions/node/v20.16.0/bin/npm
v20.16.0
10.9.2
nodejs:
  Installed: (missing)
  Candidate: 12.22.9~dfsg-1ubuntu3.6
  Version table:
     12.22.9~dfsg-1ubuntu3.6 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages
     12.22.9~dfsg-1ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
npm:
  Installed: (missing)
  Candidate: 8.5.1~ds-1
  Version table:
     8.5.1~ds-1 500
        500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy/universe i386 Packages
        100 /var/lib/dpkg/status

```

---

<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: [11 March 2025 18:36 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/17 "2025-03-11T18:36:07Z")

</div>

> [@Alex\_engineer](#):
>
> `/home/alex/.nvm/versions/node/v20.16.0/bin/node`

You said you had deleted the .nvm folder. Make sure you _completely_ remove all traces of nvm. Google how to completely remove nvm. Then make sure that the commands I suggested show that neither nodejs nor npm are installed. Then run the install script again.

---

<div class="post-metadata">

### Author: ![Alex\_engineer](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Alex\_engineer](https://discourse.nodered.org/u/Alex_engineer)
#### Post date: [11 March 2025 19:10 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/18 "2025-03-11T19:10:48Z")

</div>

The answer to the above query, after deleting node

```auto
Command 'node' not found, but can be installed with:
sudo apt install nodejs
/usr/bin/env: «node»: No such file or directory
nodejs:
  Installed: (missing)
  Candidate: 12.22.9~dfsg-1ubuntu3.6
  Version table:
     12.22.9~dfsg-1ubuntu3.6 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages
     12.22.9~dfsg-1ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
npm:
  Installed: (missing)
  Candidate: 8.5.1~ds-1
  Version table:
     8.5.1~ds-1 500
        500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy/universe i386 Packages
        100 /var/lib/dpkg/status

```

Response to the recommended script

```auto
Stop Node-RED ✔
  Remove old version of Node-RED ✔
  Using NVM to manage Node.js + please run nvm use lts before running Node-REDde.js                     
  NOTE: Using nvm is NOT RECOMMENDED. Node-RED will not run as a service under nvm.ll Node-RED core               
/dev/fd/63: строка 451: nvm: command not found
/dev/fd/63: строка 455: nvm: command not found
/dev/fd/63: строка 456: nvm: command not found
  Update Node.js 20 ✔ - Using nvm is NOT recommended/supported✘ Bad install: Node.js missing Npm missing - Exit

```

---

<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: [11 March 2025 19:49 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/19 "2025-03-11T19:49:55Z")

</div>

> [@Alex\_engineer](#):
>
> Using NVM to manage Node.js + please run nvm use lts before running Node-REDde.js  
> NOTE: Using nvm is NOT RECOMMENDED
> 
> ```auto
> 
> ```

The script has detected that you still have nvm active, and is telling you that is not recommended, as I keep saying, you should completely remove nvm.

---

<div class="post-metadata">

### Author: ![Alex\_engineer](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Alex\_engineer](https://discourse.nodered.org/u/Alex_engineer)
#### Post date: [12 March 2025 11:20 UTC](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887/20 "2025-03-12T11:20:46Z")

</div>

Hello. I deleted everything completely and installed node red using a script. The response to the commands is:

```auto
v20.18.3
10.8.2
nodejs:
  Installed: (missing)
  Candidate: 12.22.9~dfsg-1ubuntu3.6
  Version table:
     12.22.9~dfsg-1ubuntu3.6 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages
     12.22.9~dfsg-1ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
npm:
  Installed: (missing)
  Candidate: 8.5.1~ds-1
  Version table:
     8.5.1~ds-1 500
        500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy/universe i386 Packages
        100 /var/lib/dpkg/status

```

[Next page](https://discourse.nodered.org/t/error-rc217-or-247-when-installing-deleting-updating-nodes/95887.md?page=2)
