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

pnpm complaining about root .npmrc, that to incorrectly #3111

Closed
CxRes opened this issue Jan 30, 2021 · 0 comments · Fixed by #3130
Closed

pnpm complaining about root .npmrc, that to incorrectly #3111

CxRes opened this issue Jan 30, 2021 · 0 comments · Fixed by #3130
Milestone

Comments

@CxRes
Copy link

CxRes commented Jan 30, 2021

pnpm version: 5.16.0

Code to reproduce the issue:

.npmrc file at root

# pnpm options
link-workspace-packages = deep
shared-workspace-lockfile = false
recursive-install = false
pnpmfile = 'pnpmfile.cjs'

# nwjs options
nwjs_build_type = sdk

run in a sub-repo (a folder with its own package.json)

> pnpm why <some_package>

Expected behavior:

pnpm why should list why for the subrepo.
and
it should not bother about settings it does not understand.

Actual behavior:

 WARN  Your .npmrc file contains unknown setting: nwjs_build_type

Additional information:

  • node -v prints: v14.15.4
  • Windows, macOS, or Linux?: Windows 10 x64
@CxRes CxRes changed the title pnpm complaining about root .npmrc, that to incorrectly about pnpm complaining about root .npmrc, that to incorrectly Feb 9, 2021
@zkochan zkochan added this to the v5.17 milestone Feb 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants