Skip to content

[rush] Seeing several "Unknown env config" warnings from npm while publishing packages #5704

@kgetz-arista

Description

@kgetz-arista

Summary

Seeing this while publishing packages:

npm warn Unknown env config "cache-dir". This will stop working in the next major version of npm.
npm warn Unknown env config "state-dir". This will stop working in the next major version of npm.
npm warn Unknown env config "store-dir". This will stop working in the next major version of npm.
npm warn Unknown env config "workspace-dir". This will stop working in the next major version of npm.
npm warn Unknown project config "email". This will stop working in the next major version of npm.
npm warn Unknown project config "publish-branch". This will stop working in the next major version of npm.

Repro steps

  1. 'rush-pnpm publish --no-git-checks -r

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/rush globally installed version? 5.169.3
rushVersion from rush.json? 5.169.3
pnpmVersion, npmVersion, or yarnVersion from rush.json? pnpm@10.32.1 -->
(if pnpm) useWorkspaces from pnpm-config.json? true
Operating system? Linux
Would you consider contributing a PR? No
Node.js version (node -v)? 24.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions