SAP Knowledge Base Article - Preview

3733730 - npm e401 or fetch_error when installing @sap/fesr-to-otel-js or @sap/xotel-agent-ext-js for fesr receiver (opentelemetry@SAP) - SAP Cloud ALM for Operations

Symptom

  • Error occurs while adding FESR Receiver for Node.js for OpenTelemetry@SAP.
  • npm error code FETCH_ERROR; npm error errno FETCH_ERROR; “invalid json response body … reason: Unexpected token ‘<’, … is not valid JSON”.
  • npm error code E401; “Unable to authenticate, need: BASIC realm='Sonatype Nexus Repository Manager'.”
  • Issue occurs while trying to fetch @sap/xotel-agent-ext-js and @sap/fesr-to-otel-js dependencies.


Read more...

Environment

SAP Cloud ALM

Keywords

npm e401, fetch_error, invalid json response body, unexpected token '<', basic realm sonatype, nexus repository manager, @sap/fesr-to-otel-js, @sap/xotel-agent-ext-js, fesr receiver node.js, opentelemetry, repository-based shipment channel, composable storefront license, npmrc authentication, private registry access, package install failure , KBA , SV-CLM-INF-CON , Connectivity of managed services/systems to SAP Cloud ALM , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.