When running ionic build --prod Ionic gives the following error:
ERROR in node_modules/@ionic-native/app-version/ngx/index.d.ts:27:22 - error NG6003: Appears in the NgModule.exports of AppModule, but could not be resolved to an NgModule, Component, Directive, or Pipe class.
This likely means that the library (@ionic-native/app-version/ngx) which declares AppVersion 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.
Does anyone recognise this error? Of have an idea what could be causing this error?
When running
ionic build --prod
Ionic gives the following error:Does anyone recognise this error? Of have an idea what could be causing this error?