Error add plugin cordova device

[ng] This likely means that the library (@ionic-native/device/ngx) which declares Device has not been processed correctly by ngcc, or is not compatible with Angular Ivy.