Skip to content

[BUG] v 7.3.0 when publishing to private rep You need to authorize this machine using 'npm adduser' #2453

Description

@sysmat

Current Behavior:

Can not publish(This command requires you to be logged in) but I adduser successfully

Expected Behavior:

  • it work with npm v 6

Steps To Reproduce:

registry=https://zelenjak.arnes.si/nexus/repository/ArnesGroupNPM/
//zelenjak.arnes.si/nexus/repository/ArnesNpm/:_authToken=NpmToken.XXXXXXXXX
  • in my package I have:
,
  "publishConfig": {
    "registry": "https://zelenjak.arnes.si/nexus/repository/ArnesNpm/"
  },
  • when running npm publish I got error:
npm ERR! code ENEEDAUTH
npm ERR! need auth This command requires you to be logged in.
npm ERR! need auth You need to authorize this machine using `npm adduser`

Environments:

  • Node: 12.6.0
  • npm: 7.3.0
  • OS: win32 x64

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingPriority 1high priority issueRelease 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