Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[DOCS] Is prefix a good example parameter to explain npmrc? #7188

Closed
2 tasks done
kh31d4r opened this issue Jan 31, 2024 · 0 comments
Closed
2 tasks done

[DOCS] Is prefix a good example parameter to explain npmrc? #7188

kh31d4r opened this issue Jan 31, 2024 · 0 comments
Labels
Documentation documentation related issue Priority 2 secondary priority issue

Comments

@kh31d4r
Copy link

kh31d4r commented Jan 31, 2024

Is there an existing issue for this?

  • I have searched the existing issues

This is a CLI Docs Enhancement, not another kind of Docs Enhancement.

  • This is a CLI Docs Enhancement.

Description of Problem

In the "Files" section, prefix is used as an example of parameter that can be set in the for places mentioned above.

However, trying to set the prefix parameter in the per-project (/path/to/my/project/.npmrc) config file will result in an error from the cli, and will be ignored.

Potential Solution

The cli seems to have an explicit check for the exact combination of per-project config and this particular parameter, so picking a different parameter that doesn't have this kind of restriction would be the easiest.

Docs URL

https://docs.npmjs.com/cli/v10/configuring-npm/npmrc

@kh31d4r kh31d4r added Documentation documentation related issue Needs Triage needs review for next steps labels Jan 31, 2024
@lukekarrys lukekarrys added Priority 2 secondary priority issue and removed Needs Triage needs review for next steps labels May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation documentation related issue Priority 2 secondary priority issue
Projects
None yet
Development

No branches or pull requests

2 participants