I’m trying to use the Diagnostic from ionic-native but I’m getting the following error:
–> Cannot find module “@ionic-native/diagnostic”
I installed it using the following command: ionic cordova:plugin add cordova.plugins.diagnostic
In my component i’m importing it using:
import { Diagnostic } from ‘@ionic-native/diagnostic’; (tried also with just ‘ionic-native’ as in the docs with the same result)