npm recently released v9 which includes some breaking changes in which the legacy authentication types have been consolidated into “legacy”, making the auth-type default to “web”.
JFrog has an article describing the change https://jfrog.com/knowledge-base/artifactory-changes-to-the-login-behavior-in-npm-v9/.
I'm getting the error below using npm@9.1.1
[semantic-release] ��� ��� An error occurred while running semantic-release: Error: Command failed with exit code 1: npm version 1.2.35 --userconfig /tmp/7936e26bc5b88d9c14492113eacaa2fd/.npmrc --no-git-tag-version --allow-same-version
npm ERR! code ERR_INVALID_AUTH
npm ERR! Invalid auth configuration found: `_auth` must be renamed to `//registry.npmjs.org/:_auth` in user config
npm ERR! Please run `npm config fix` to repair your configuration.`
Can the .npmrc
setup be modified to support npm v9?