-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
Bugthing that needs fixingthing that needs fixing
Description
Hi npm/cli team, I am a software engineer from LinkedIn. Currently handreds of UI engineers suffered from this problem when running npx command. Can we fix this issue instead of running npx with setting --userconfig .npmrc
everytime? Thanks!
What / Why
When running npx commands under some JavaScripts project directory, it will not pick up .npmrc
from working directory as expected. Instead it will only pulls from ~/.npmrc
and ignores any .npmrc
in current working directory.
When
- Whenever I run npx command
Where
npx
Current Behavior
npx only pulls from ~/.npmrc and ignores any .npmrc in current working directory.
Expected Behavior
npx can picked up working directory's .npmrc
successfully by default.
References
MichaelBorde
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixing