Skip to content

[BUG] init.author.name deprecation warning does not stop #4840

@sourabhv

Description

@sourabhv

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

$ cat ~/.npmrc
init-author-name=<name>
init-author-email=<email>
init-author-url=<url>

$ npm i 
npm WARN config init.author.name Use `--init-author-name` instead.

The init.author.name warning is still there

Expected Behavior

Warning init.author.name should stop like other 2.

Steps To Reproduce

  1. In this environment...
    Mac OS Monterey on Macbook Pro 16 2021
    Node v18.0.0 installed via brew
    NPM v8.8.0

  2. With this config...

    init-author-name="Foo bar"
    init-author-email=[email protected]
    init-author-url=https://github.com/foobar

  3. Run
    npm i

  4. See error:
    npm WARN config init.author.name Use --init-author-name instead.

Environment

  • npm:
  • Node.js:
  • OS Name:
  • System Model Name:
  • npm config:
; copy and paste output from `npm config ls` here

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Discussionis pending a discussionNeeds Triageneeds review for next stepsRelease 8.xwork is associated with a specific npm 8 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions