Open ClimateAtlas opened 4 years ago
Seems this issue is due to this library not being compatible with Ivy. If you set the following inside of projects tsconfig.json:
"angularCompilerOptions": { "enableIvy": false }
It will work using old Angular renderer. Still have to see how to update this thing to work with Ivy out of the box.
I’ll release a new build using ngcc
Any updates on this? I'm currently working on a (angular 10) project and would really like to use your fancywebrtc/nativescript-webrtc combination.
On angular 9 there is a problem when importing the module in app.module.ts. Upon compilation attempt the following error occures:
ERROR in node_modules/nativescript-webrtc-plugin/angular/index.d.ts:4:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.
This likely means that the library (nativescript-webrtc-plugin/angular) which declares WebRTCModule has not been processed correctly by ngcc, or 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.
4 export declare class WebRTCModule {