装饰器中不支持函数调用,但在Ionic2中使用SwipeCardsModules时在“ NgModule”中调用了“ makeDecorator”

时间:2018-12-14 06:59:21

标签: ionic-framework

我正在使用Tinder汽车,为此,我正在使用SwipeCardsModule,但它给了我以下错误。 我已经引用了此链接https://ampersandacademy.com/tutorials/ionic-framework-3/ionic-3-tinder-like-cards中的所有内容 错误显示如下

  Error during template compile of 'SwipeCardsModule' Function 
     calls 
   are not supported in decorators but 'makeDecorator' was called in 
  'NgModule' 'NgModule' references 'NgModule' 'NgModule' references 
  'NgModule''NgModule' references 'NgModule' calls 'makeDecorator'.

 Error: The Angular AoT build failed. See the issues above
at /home/benepik/Desktop/currently working/kriti/bestieionic2new/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:237:55
at step (/home/benepik/Desktop/currently working/kriti/bestieionic2new/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:32:23)
at Object.next (/home/benepik/Desktop/currently working/kriti/bestieionic2new/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:13:53)
at fulfilled (/home/benepik/Desktop/currently working/kriti/bestieionic2new/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:4:58)

请帮助

0 个答案:

没有答案