I'm Trying to Implement Push notification but i'm not able to get token

when using this method “import { FCM } from ‘cordova-plugin-fcm-with-dependecy-updated/ionic/ngx’;” to access token it will give above attracted error

when using this method “import { FCM } from ‘@ionic-native/fcm/ngx’;” to access token it will give above attracted error