Forum Discussion
Application Insights (External NPM Dependency): Error packaging
- 6 years ago
Application Insights has mutiple NPM package versions for the WEB. The one shown above is primarily meant for a NODE SERVER applciation, as it has built in capability to show LIVE METRICS etc.
The 'PBIVIZ' package ingternally uses WEBPACK to bundle, and hence with the original NPM package we ran into mutiple issues as it has a dependency of plenty of packages.
What we ended up using is the App Insights for Web - https://github.com/microsoft/ApplicationInsights-JS
We simply followed sample on the above GITHUB page above and we were able to set it up.
Application Insights has mutiple NPM package versions for the WEB. The one shown above is primarily meant for a NODE SERVER applciation, as it has built in capability to show LIVE METRICS etc.
The 'PBIVIZ' package ingternally uses WEBPACK to bundle, and hence with the original NPM package we ran into mutiple issues as it has a dependency of plenty of packages.
What we ended up using is the App Insights for Web - https://github.com/microsoft/ApplicationInsights-JS
We simply followed sample on the above GITHUB page above and we were able to set it up.