Skip to content

[BUG] npm init @scope does not work #3698

@kaaax0815

Description

@kaaax0815

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I have a package names @kaaaxcreators/create

When I run npm init @kaaaxcreators it doesnt execute it

When I run npx @kaaaxcreators/create it works

Expected Behavior

npm init @kaaaxcreators should be the same as npx @kaaaxcreators/create

Steps To Reproduce

  1. Inside a Folder run npm init @kaaaxcreators
  2. Get the default Prompt instead of executing the program

Environment

  • OS: Windows 10 21H1
  • Node: v16.6.0
  • npm: 7.19.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingNeeds Triageneeds review for next stepsRelease 7.xwork is associated with a specific npm 7 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions