Closed beasteers closed 1 year ago
Hi @beasteers,
Thanks for creating the issue!
I added now a new value nmprc.content
, where you can set all your custom npmrc config.
npmrc:
# -- Enable custom npmrc config
enabled: false
# -- Configuration to use any compatible registry
registry: "https://registry.npmjs.org"
# -- Configuration to add custom npmrc config
content: |
# Custom npmrc config
This feature is now available in the chart version > 0.22.0
thanks so much! that was fast ✨
What happened?
I'm running this on AKS using Azure Files for persistence, which doesn't support hard links. If I enable persistence on /data, I start getting errors when I try to run
npm install
(either through the manage palette page or runningnpm i
manually).Error log
How can we reproduce this?
Here's my configuration
aks storage class (terraform config) and helm chart
values.yaml
Helm Chart version
Search
Code of Conduct
Additional context
Solution
I was able to solve it by:
allowing the user to write to
/usr/src/node-red
writing this to
/usr/src/node-red/.npmrc
But it would be great if your
npmrc:
config field accepted a free-text field (e.g.npmrc.contents
) to insert values like this from the values.yaml file.