Hello,
I am running multiple node-red instances on a Windows PC.
Each instance runs the same node-red installation. I have made the separation via the settings.json
file.
I have one node-red installation directory and multiple instance directories (userDir
in settings.json
).
Now I wanted to attach a local npm register per instance. Each instance needs its own access token. I wanted to insert this token into the .npmrc
file and put the file into the userDir
. Node-RED or npm does not use the npmrc file from the userDir
when installing a node from my catalog. It always uses the .npmrc
file from the user context. In my case the file C:\Users\testuser001\.npmrc
.
Where do I put the .npmrc
file created specifically for a node-red instance so that npm uses it when installing a node for a specific instance?