Using pnpm generates a dot npmrc that you cannot alter

I cannot add a custom repository to the npmrc as the file is generated and removes any changes.

Is this possible in a different way? Thanks

The npmrc file should be overwritten only if it contains the auto generated comment “NOTICE: this is an auto-generated file”.
If it is there, try to remove it

1 Like

Thanks, that did it.