You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Is there an existing issue for this?
This is a CLI Docs Enhancement, not another kind of 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
The text was updated successfully, but these errors were encountered: