Issue

Why am I seeing 'ERR! 500' on npm login?

AuthorFullName__c
David Pinhas
articleNumber
000004751
ft:sourceType
Salesforce
FirstPublishedDate
2019-12-19T14:39:11Z
lastModifiedDate
2024-03-10T07:45:51Z
VersionNumber
6

When attempting to run ‘npm login --verbose’ the login results with the following error:

npm ERR! code E500
npm ERR! 500 Internal Server Error - PUT https://<ARTIFACTORY_URL>:<PORT>/artifactory/api/npm/npm/-/user/org.couchdb.user:<USER>

npm verb exit

This article will explain how to fix this behavior and login to the NPM registry successfully.