You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
#122
Open
gregorwolf opened this issue
Nov 16, 2024
· 0 comments
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
as the @sap/fesr-to-otel-js package is not found in the Public NPM Repository. When I try to fix this by adding:
to .npmrc I can install @sap/fesr-to-otel-js and @sap/xotel-agent-ext-js but an installation of @sap/cds fails:
npm error code E404
npm error 404 Not Found - GET https://73555000100200018064.npmsrv.cdn.repositories.cloud.sap/@sap%2fcds - Package '@sap/cds' not found
npm error 404
npm error 404 '@sap/cds@^7' 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 url.
I would suggest that you either trigger a change in the namespace of the packages @sap/fesr-to-otel-js and @sap/xotel-agent-ext-js or you adjust the documentation.
Best Regards
Gregor
The text was updated successfully, but these errors were encountered:
Hello SAP BTP CAP Developer Guide Team,
from the page OpenTelemetry@SAP 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.
It fails with the following error:
as the @sap/fesr-to-otel-js package is not found in the Public NPM Repository. When I try to fix this by adding:
to .npmrc I can install @sap/fesr-to-otel-js and @sap/xotel-agent-ext-js but an installation of @sap/cds fails:
So it seems that the better solution is to follow the instructions of Autoinstrumentation for Node.js and FESR Receiver for Node.js and add this lines to the dependencies in the package.json manually:
I would suggest that you either trigger a change in the namespace of the packages @sap/fesr-to-otel-js and @sap/xotel-agent-ext-js or you adjust the documentation.
Best Regards
Gregor
The text was updated successfully, but these errors were encountered: