proposal: Allow setting to use & respect user .npmrc
config to fix language server installation issues
#20359
Unanswered
jamischarles
asked this question in
Q&A
Replies: 1 comment
-
Or would it be better to just allow people to opt-out of the ignore user npmrc behavior that's currently the default? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem Statement
npm-based language servers fail to install with non-standard npm setups. ie: custom registry, self-signed certs etc. This affects eslint, prettier, etc.
Solution Proposal
Provide a setting to specify location of
.npmrc
to use with--userconfig
flagPros
.npmrc
settings which help set CA files, custom registry details etcCons
In this case IMO the pro far outweighs the con because there's no easy override (as far as I can tell)
Open Questions
I spent a few hours last night building Zed on macOS and was finally able to manually override this in the code.
Big questions I have remaining:
--userconfig
with a blank file?Related Issues
#19806
#9422
#8650
Beta Was this translation helpful? Give feedback.
All reactions