Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/firebase/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Firebase getting error Uncaught TypeError:安装fcm插件后,对象(…)不是函数_Firebase_Push Notification_Cordova Plugin Fcm - Fatal编程技术网

Firebase getting error Uncaught TypeError:安装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

我已经安装了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.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)
如果有人知道解决办法,请告诉我