ARTIFACTORY: Why ‘npm audit’ command failed with errors (when Xray is not configured)

ARTIFACTORY: Why ‘npm audit’ command failed with errors (when Xray is not configured)

AuthorFullName__c
Yonatan Hen
articleNumber
000005817
FirstPublishedDate
2023-07-17T14:40:10Z
lastModifiedDate
2025-07-20
VersionNumber
2

The 'npm audit' command should function by using an audit provider (which is an NPM remote registry), even if Xray is not configured. However, there might be cases where the audit command fails with a 403 or 404 error if the registry is not configured as expected.