Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

OmniOut Issue: Error "unable to authenticate, need: BASIC realm=Sonatype Nexus Repository Manager"

公開日: Dec 4, 2025
説明

Error "unable to authenticate, need: BASIC realm=Sonatype Nexus Repository Manager" faced when trying to authentication using NPM key.

npmaccesserror.png

 

This error might happen due to an issue in Node JS which causes the authentication flow to fail. 

解決策

Perform the following actions:

  1. Clear the NPM cache using: npm cache clean --force 
  2. Confirm the Node.js version in use is v14.16.1 or higher.
  3. Validate the .npmrc file within the OmniOut project. This file is not provided by Salesforce Industries (SFI) and depends entirely on the local development environment. A properly configured .npmrc should resemble the example below:
    always-auth=true
    _auth=your_token_here
    @vlocity-cme:registry=https://repo.vlocity.com/repository/vlocity-public/
    @vlocity-cme-sdk:registry=https://repo.vlocity.com/repository/vlocity-public/
    @vlocity-ins-sdk:registry=https://repo.vlocity.com/repository/vlocity-public/ engine-strict=true 
  4. After correcting the .npmrc file, run: yarn install 

 

The installation should then proceed with the required access.

Alternative Method

Authentication can also be completed by running: npm login --registry=https://repo.vlocity.com/repository/vlocity-public/


This method requires the username and password associated with the NPM key.
Once authenticated successfully, npm install should execute without errors.

ナレッジ記事番号

005232677

 
読み込み中
Salesforce Help | Article