Skip to content

Set Up Data Collection for SAP Cloud ALM in a CAP Application: Installation of @sap/fesr-to-otel-js fails as it is not read from the private SAP repository #135

@puneetsaxena

Description

@puneetsaxena

Hello SAP BTP CAP Developer Guide Team,

from the page [OpenTelemetry@SAP](https://support.sap.com/en/alm/sap-cloud-alm/operations/expert-portal/data-collection-infrastructure.html?anchorId=section_415688568) I was pointed to Enable Data Collection for Real User Monitoring and Health Monitoring. I did the setup as described for the Repository-Based Shipment Channel.
npm install @opentelemetry/api @opentelemetry/exporter-logs-otlp-grpc @sap/fesr-to-otel-js @sap/xotel-agent-ext-js cf-nodejs-logging-support hdb

It shows error
npm error code E404 npm error 404 Not Found - GET https://registry.npmjs.com/@sap%2ffesr-to-otel-js - Not found npm error 404 npm error 404 '@sap/fesr-to-otel-js@*' is not in this registry. npm error 404 npm error 404 Note that you can also install from a npm error 404 tarball, folder, http url, or git ur

I updated the package.json with :
"@sap/xotel-agent-ext-js": "https://73555000100200018064.npmsrv.cdn.repositories.cloud.sap/@sap/xotel-agent-ext-js/-/xotel-agent-ext-js-1.5.22.tgz", "@sap/fesr-to-otel-js": "https://73555000100200018064.npmsrv.cdn.repositories.cloud.sap/@sap/fesr-to-otel-js/-/fesr-to-otel-js-1.5.13.tgz"

but now resolving dependencies, it show error:
`npm error code E401

npm error Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager"

npm error A complete log of this run can be found in: /home/user/.npm/_logs/2026-02-24T19_36_21_574Z-debug-0.log`

Need help in resolving this Sonatype Nexus repository manager error.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions