简体   繁体   English

未捕获(承诺)TypeError:object不是ionic2中的构造函数(...)

[英]Uncaught (in promise) TypeError: object is not a constructor(…) in ionic2

While using ionic2 running basic app also it's giving error like this: Uncaught (in promise) TypeError: object is not a constructor(…) in ionic2. 在使用ionic2运行基本应用程序时,它也会给出如下错误: 未捕获(在promise中)TypeError:object不是 ionic2中的构造函数(...)


create new app: ionic start appname tutorial --v2 创建新应用程序:ionic start appname tutorial --v2

running app: ionic serve 正在运行app:离子发球

My system Specifications: 我的系统规格:

Ubuntu :14.04 (64bit) Ubuntu:14.04(64位)

Chrome :Version 49.0.2623.87 (64-bit) Chrome:版本49.0.2623.87(64位)

Node : v5.6.0 节点:v5.6.0

npm : v3.6.0 npm:v3.6.0

在此输入图像描述

Please see here . 请看这里 It shows up with a particular Chrome Canary version, and it seems due to es6-shim. 它显示了特定的Chrome Canary版本,似乎是由于es6-shim。 It has been reported to have been fixed in es6-shim v0.34 . 据报道,它已在es6-shim v0.34中修复。 Or you can switch to core-js shim, as mentioned here . 或者你也可以切换到核心JS垫片,提到这里

But if you're using some library (like Ionic) that depends on a particular es6-shim version, I guess you'd wait for library update. 但是如果你正在使用一些依赖于特定es6-shim版本的库(如Ionic),我想你会等待库更新。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Ionic2未捕获的承诺 - Ionic2 uncaught promise 得到一个错误“未捕获(承诺)TypeError:对象不是构造函数(...)” - Got an error that is "Uncaught (in promise) TypeError: object is not a constructor(…)" Uncaught (in promise): false NavController ionic2 - Uncaught (in promise): false NavController ionic2 Ionic2 - 谷歌地图插件,错误:异常:未捕获(承诺):[object Object]) - Ionic2 - Google Maps Plugin, Error: EXCEPTION: Uncaught (in promise): [object Object]) 未捕获(承诺):状态响应:Angular2 / Ionic2中的0 - Uncaught (in promise): Response with status: 0 in Angular2/Ionic2 Ionic2-未捕获运行时错误(按承诺):错误:Http无提供程序 - Ionic2 - Runtime Error Uncaught (in promise): Error: No provider for Http ionic2:浏览器中的地理定位失败并出现错误:例外:未捕获(承诺):假 - ionic2: geolocation in browser fails with error: EXCEPTION: Uncaught (in promise): false Ionic2 / Angular2-未捕获的TypeError:(0,_ionicAngular.Pipe)不是函数 - Ionic2/Angular2 - Uncaught TypeError: (0 , _ionicAngular.Pipe) is not a function 离子2地图加载“未捕获(承诺):[对象位置错误]” - ionic 2 map loading “Uncaught (in promise): [object PositionError]” Ionic2 / 3 angular google maps TypeError:Object(...)不是新FitBoundsService的函数 - Ionic2/3 angular google maps TypeError: Object(…) is not a function at new FitBoundsService
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM