# Error "rc=0" when installing module

**URL:** <https://discourse.nodered.org/t/error-rc-0-when-installing-module/68458>\
**Category:** General\
**Created:** [1 October 2022 15:30 UTC](https://discourse.nodered.org/t/error-rc-0-when-installing-module/68458 "2022-10-01T15:30:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaroneisele55](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/aaroneisele55/32/65335_2.png) [@Aaroneisele55](https://discourse.nodered.org/u/Aaroneisele55)\
**Post date:** [1 October 2022 15:30 UTC](https://discourse.nodered.org/t/error-rc-0-when-installing-module/68458/1 "2022-10-01T15:30:23Z")

</div>

Hello,  
i have started using the Projects feature and it all works, except that i'm getting these "warning signs" on some packages.

 ![](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/1/71f94cbc37ec510e46be432bbe5a009f3299ed29.png)  
When i click on "install" on one of them, i get the following:

```auto
2022-10-01T15:25:03.223Z Installieren : color-temperature ~0.2.7

2022-10-01T15:25:03.266Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict color-temperature@~0.2.7
2022-10-01T15:25:04.415Z [err] npm
2022-10-01T15:25:04.416Z [err] WARN
2022-10-01T15:25:04.416Z [err] config production Use `--omit=dev` instead.
2022-10-01T15:25:06.879Z [out] 
2022-10-01T15:25:06.879Z [out] up to date in 3s
2022-10-01T15:25:06.901Z rc=0

```

The installation then fails but the module (which is actually installed and up-to-date) works just as expected.  
How can i fix this?  
I already tried installing the modules manually using the shell (i'm on a Raspberry pi 4 2GB with Raspbian Bullseye installed and NodeRed set up using the official install script), but it didn't help.

Thanks,  
Aaron

---

<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:** [1 October 2022 15:42 UTC](https://discourse.nodered.org/t/error-rc-0-when-installing-module/68458/2 "2022-10-01T15:42:09Z")

</div>

The error is because those are not Node-RED node modules - they are "normal" npm modules.

The project feature assumes they are Node-RED nodes so when it cannot find any nodes to load, it considers it an error.

---

<div class="post-metadata">

**Author:** ![Aaroneisele55](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/aaroneisele55/32/65335_2.png) [@Aaroneisele55](https://discourse.nodered.org/u/Aaroneisele55)\
**Post date:** [2 October 2022 04:25 UTC](https://discourse.nodered.org/t/error-rc-0-when-installing-module/68458/3 "2022-10-02T04:25:45Z")

</div>

Hello @knolleary,  
Are these "normal npm modules" also saved to the package.json?  
I want to use git as kind of a "historical backup" in case my Pi crashes or for when i make a mistake in my files (using git, i'd just revert that change (if it was just an error in the flow file) or simply set up the project again if it was a corrupt sd card or some other kind of failure outside NodeRed)

Thanks,  
Aaron

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [1 December 2022 04:26 UTC](https://discourse.nodered.org/t/error-rc-0-when-installing-module/68458/4 "2022-12-01T04:26:17Z")

</div>

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