Error "rc=0" when installing module

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


When i click on "install" on one of them, i get the following:

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

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.

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