Comments (5)
Yeah I think we might need to omit it entirely and warn people that they need to add that code themselves if they want it to handle those events, let me test a few things out.
from angular-application-insights.
Thanks for letting me know! Let me try and take a look.
I'm wondering if having that dependency be @Optional()
will help fix the problem and we can just test to see if it's there in the service before making those calls.
from angular-application-insights.
I'm not sure but I don't think using @Optional
will work here and you'd still be importing @angular/router
, which is what will throw the error as it won't be installed.
from angular-application-insights.
@MarkPieszak Hello. I use ionic too. The error is "No module for @angular/router". How to resolve it?
"@angular/core": "4.1.2"
"@markpieszak/ng-application-insights": "^2.4.2"
from angular-application-insights.
Fixed with the latest version 5.0.4 @GFoley83
We're grabbing the Router via the Injector now, so it shouldn't have any issues now!
Sorry about the delay there.
Closing out but please open up if it still didn't fix it!
from angular-application-insights.
Related Issues (20)
- Angular 12 Support HOT 2
- Angular 13 support HOT 2
- Angular 14 support HOT 7
- Update of ApplicationInsights-JS used HOT 3
- Prevent Certain Data from Logging HOT 1
- Cannot find module '@angular/core' HOT 2
- upgrade to AI v2 HOT 8
- i wanted to make a heartbeat in my angular application HOT 1
- appInsightsService.queue set to undefined HOT 1
- Angular 8 (ivy) - ERROR in There is no format with import statements HOT 4
- Angular 8 support HOT 5
- Status Code: 400 100: Field 'ai.operation.name' on type 'ContextTagKeys' is too long. Expected: 1024 HOT 3
- Can't seem to update azure with any data? HOT 1
- Angular 9 support HOT 4
- Dependency tracking with ResultCode = 0 HOT 4
- Add missing property `enableAutoRouteTracking` to configuration HOT 1
- Generic type 'ModuleWithProviders<T>' requires 1 type argument(s) HOT 1
- warnings in Angular 10 upgrade - CommonJS or AMD dependencies can cause optimization bailouts HOT 2
- Move away from dependency on deprecated applicationinsights-js package HOT 2
- Angular 11 incompatible HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-application-insights.