FG
💻 Software🛠️ Developer ToolsMicrosoft

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

Freshalmost 4 years ago
Mar 14, 20260 views
Confidence Score78%
78%

Problem

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: - npm adduser --registry=https://zelenjak.arnes.si/nexus/repository/ArnesNpm/ - ok login and in my .npmrc I get [code block] - in my package I have: [code block] - when running npm publish I got error: [code block] Environments: - Node: 12.6.0 - npm: 7.3.0 - OS: win32 x64

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
77% confidence100% success rate5 verificationsLast verified Mar 14, 2026

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

Low Risk

https://github.com/npm/cli/pull/2445 did not fix it afaik. `publishConfig` seems to be ignored when publishing a package. Double checked if 7.5.3 would fix it, but does not appear to be the case.

77

Trust Score

5 verifications

100% success
  1. 1

    https://github.com/npm/cli/pull/2445 did not fix it afaik. `publishConfig` seems

    https://github.com/npm/cli/pull/2445 did not fix it afaik. `publishConfig` seems to be ignored when publishing a package. Double checked if 7.5.3 would fix it, but does not appear to be the case.

Validation

Resolved in npm/cli GitHub issue #2453. Community reactions: 8 upvotes.

Verification Summary

Worked: 5
Partial: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

npmpackage-managernodejsrelease-7.xbugpriority-1