当使用“ionicserve”命令在浏览器上打开应用程序时,出现以下错误,请帮忙检查一下吗?谢谢!
请引用我的代码https://github.com/aaronchen2k/mobistore-client/tree/master/app
最佳答案
问题来自 angular2-es6,但您的代码可以在出现该错误的情况下运行,不会出现任何问题。 (参见:https://github.com/blacksonic/angular2-es6-starter/issues/1) 该问题也有一些修复(与依赖项共舞以找到好的依赖项)。
关于typescript - 收到错误 "Uncaught (in promise) TypeError: object is not a constructor(…)",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36151138/