Conversation
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|
I hit the same underlying issue while debugging plugin installs from private scoped registries. I opened #22025 from a slightly different angle and verified it locally against a real One small behaviour difference I noticed: my patch keeps If this PR lands, I’m happy to close #22025 and defer to this approach. |
|
Hello, as I'm on a corporate network, without the correct settings (npm configuration, environment variables), the latest versions are practically unusable with plugins and even LSPs. Would it be possible to quickly merge this PR? Thank you! |
|
@thdxr |
Load npm config from the active instance/config directory when installing plugin and provider packages so project .npmrc settings and env precedence are preserved for cached installs. Refs anomalyco#21123, anomalyco#21324, anomalyco#21436, anomalyco#21697, anomalyco#22025.
Summary
@npmcli/configso Arborist uses npm's project, user, global, and env resolution rules.opencode, env precedence, and reload behaviorTesting