ultrasonicsoft / ng-connection-service

Detects active internet connection in Angular application via DI ready Observable service.
84 stars 56 forks source link

Angular 17.2.0 does not support ConnectionServiceModule? #156

Open Prasanta651 opened 6 months ago

Prasanta651 commented 6 months ago

I'm encountering an error in my Angular application related to the compatibility of the ng-connection-service library with Angular Ivy. When trying to import the ConnectionServiceModule from ng-connection-service into my Angular module, I'm getting the following error: Error: src/app/app.module.ts:39:5 - error NG6002: 'ConnectionServiceModule' does not appear to be an NgModule class.

39 ConnectionServiceModule ~~~~~~~

node_modules/ng-connection-service/lib/ng-connection-service.module.d.ts:1:22 1 export declare class ConnectionServiceModule { ~~~~~~~ This likely means that the library (ng-connection-service) which declares ConnectionServiceModule is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

✖ Failed to compile. Screenshot 2024-02-20 at 12 12 27 PM

Angular1992 commented 6 months ago

While updating the angular application from v15 to v17 we are facing the same issue with this package. Is there any alternative package available for this?