-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Labels
Documentationdocumentation related issuedocumentation related issuePriority 2secondary priority issuesecondary priority issue
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
npm prints the following warning on the console:
npm warn Unknown user config "email". This will stop working in the next major version of npm.
The "email" property is documented. npm shouldn't complain about it.
There's another similar issue #8153, but it's about custom properties in .npmrc.
Expected Behavior
No warning about the "email" property.
Steps To Reproduce
- With the latest Node.js 24 LTS and the latest npm.
- With
[email protected]in~/.npmrc. - Run 'npm --version`.
- See the warning appear.
❯ npm --version --verbose
npm verbose cli /Users/prantlf/.nodeup/24.11.0/bin/node /Users/prantlf/.node/bin/npm
npm info using [email protected]
npm info using [email protected]
npm warn Unknown user config "email". This will stop working in the next major version of npm.
11.6.2
npm verbose cwd /home/prantlf
npm verbose os Darwin 24.6.0
npm verbose node v24.11.0
npm verbose npm v11.6.2
npm verbose exit 0
npm info ok
❯ node --version
v24.11.0
❯ echo $NODE_OPTIONS
Environment
- npm: 11.6.2
- Node.js: 24.11.0
- OS Name: MacOS 15.7.1
- System Model Name: MacBook Pro 2018
- npm config:
//registry.npmjs.org/:_authToken=...
email[email protected]
init-author-name=Ferdinand Prantl
init-author-email[email protected]
save-prefix=^
package-lock=true
audit=trueMetadata
Metadata
Assignees
Labels
Documentationdocumentation related issuedocumentation related issuePriority 2secondary priority issuesecondary priority issue