Skip to content

NPM 11 complains about extraneous (PNPM) settings inside ~/.npmrc #9232

@daniele-orlando

Description

@daniele-orlando

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

10.6.1

Which area(s) of pnpm are affected? (leave empty if unsure)

Package manager compatibility

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

cat <<EOF > ~/.npmrc
store-dir=~/Library/Caches/pnpm
EOF

npm i -g npm@11
npm config list -g

# npm warn Unknown user config "store-dir". This will stop working in the next major version of npm. 

Describe the Bug

NPM 11 complains about extraneous (PNPM settings) inside .npmrc.

Expected Behavior

PNPM should have its own system/user configuration file, that does not interfere with NPM.

Which Node.js version are you using?

22

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions