Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Include npmrc instructions with npm instructions if there's no npmrc #420

Open
sparr opened this issue Jul 15, 2024 · 0 comments
Open

Include npmrc instructions with npm instructions if there's no npmrc #420

sparr opened this issue Jul 15, 2024 · 0 comments

Comments

@sparr
Copy link
Contributor

sparr commented Jul 15, 2024

The help for ~/.npm/ says to add lines to your npmrc, but if you don't have one then you might naively created it at ~/.npmrc and then have to run another round of xdg-ninja to get the instructions for exporting NPM_CONFIG_USERCONFIG and moving it.

I propose that the .npmrc instructions should be included along with the .npm instructions if ~.npmrc and $NPM_CONFIG_USERCONFIG both don't exist.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant