Firebase getting error Uncaught TypeError:安装fcm插件后,对象(…)不是函数
我已经安装了fcm插件后,我得到下面的错误Firebase getting error Uncaught TypeError:安装fcm插件后,对象(…)不是函数,firebase,push-notification,cordova-plugin-fcm,Firebase,Push Notification,Cordova Plugin Fcm,我已经安装了fcm插件后,我得到下面的错误 index.js:171 Uncaught TypeError: Object(...) is not a function at index.js:171 at Module../node_modules/@ionic-native/fcm/index.js (index.js:253) at __webpack_require__ (bootstrap:83) at Module../src/app/app.comp
index.js:171 Uncaught TypeError: Object(...) is not a function
at index.js:171
at Module../node_modules/@ionic-native/fcm/index.js (index.js:253)
at __webpack_require__ (bootstrap:83)
at Module../src/app/app.component.ts (app.component.ts:1)
at __webpack_require__ (bootstrap:83)
at Module../src/app/app.module.ts (app.module.ts:2)
at __webpack_require__ (bootstrap:83)
at Module../src/main.ts (main.ts:1)
at __webpack_require__ (bootstrap:83)
at Object.0 (main.ts:12) (anonymous)
如果有人知道解决办法,请告诉我