离子错误未处理的承诺拒绝:Object(...)不是Promise.then不是ionic3中的函数?

时间:2018-10-25 12:57:10

标签: ionic3

我已经在ionic 3中创建了应用程序,但是在ionic服务高于错误后我收到了错误消息,我已经用google搜索了它,并尝试通过其他帖子解决错误,但是问题无法解决?

用于重制的设置:-

npm我@ ngx-translate / core @ 9.1.1

polyfills.js:3 Unhandled Promise rejection: Object(...) is not a function ; Zone: <root> ; Task: Promise.then ; Value: TypeError: Object(...) is not a function
at new ApplicationRef (vendor.js:15312)
at _createClass (vendor.js:18294)
at _createProviderInstance (vendor.js:18256)
at initNgModule (vendor.js:18189)
at new NgModuleRef_ (vendor.js:18916)
at Object.createNgModuleRef (vendor.js:18905)
at NgModuleFactory_.create (vendor.js:21464)
at vendor.js:15117
at t.invoke (polyfills.js:3)
at Object.onInvoke (vendor.js:14655) TypeError: Object(...) is not a function
at new ApplicationRef (http://localhost:5000/build/vendor.js:15312:64)
at _createClass (http://localhost:5000/build/vendor.js:18294:20)
at _createProviderInstance (http://localhost:5000/build/vendor.js:18256:26)
at initNgModule (http://localhost:5000/build/vendor.js:18189:32)
at new NgModuleRef_ (http://localhost:5000/build/vendor.js:18916:9)
at Object.createNgModuleRef (http://localhost:5000/build/vendor.js:18905:12)
at NgModuleFactory_.create (http://localhost:5000/build/vendor.js:21464:25)
at http://localhost:5000/build/vendor.js:15117:43
at t.invoke (http://localhost:5000/build/polyfills.js:3:14976)
at Object.onInvoke (http://localhost:5000/build/vendor.js:14655:33)

0 个答案:

没有答案