装饰器中不支持函数调用(Angular 8)

时间:2019-02-07 14:02:23

标签: angular

我已经升级到Angular 8.0.0-beta.3(是的,我知道它的beta),但是由于某种原因,我的应用程序将不再使用AOT进行编译。否则,它确实可以很好地工作。

这些错误的问题在于它们与我在下面发布的完全相同,没有进一步指示导致问题的路径/文件。它仅列出ComponentInjectableDirective

ERROR in Error during template compile of 'NgModule'
  Function calls are not supported in decorators but 'ɵmakeDecorator' was called.
Error during template compile of 'Injectable'
  Function calls are not supported in decorators but 'ɵmakeDecorator' was called.
Error during template compile of 'Component'
  Function calls are not supported in decorators but 'ɵmakeDecorator' was called.
Error during template compile of 'Directive'

有什么想法可能会发生这种情况,或者如何找到更详细的信息?

0 个答案:

没有答案