Got an error that is "Uncaught (in promise) TypeError: object is not a constructor(…)"

Got an error that is "Uncaught (in promise) TypeError: object is not a constructor(…)"

在浏览器上使用"ionic serve"命令打开应用程序时,出现以下错误,请帮忙检查一下?谢谢!

请参考我在https://github.com/aaronchen2k/mobistore-client/tree/master/app

中的代码

问题来自 angular2-es6,但您的代码 运行 可以毫无问题地解决该错误。 (参见:https://github.com/blacksonic/angular2-es6-starter/issues/1) 这个问题也有一些修复(与依赖项共舞以找到好的)。