Hi Everyone,
Hoping everyone had an excellent Christmas.
I am currently using ionic3 and angular 5.
"@angular/animations": "5.2.11",
"@angular/common": "5.2.11",
"@angular/compiler": "5.2.11",
"@angular/compiler-cli": "5.2.11",
"@angular/core": "5.2.11",
"@angular/forms": "5.2.11",
"@angular/http": "5.2.11",
"@angular/platform-browser": "5.2.11",
"@angular/platform-browser-dynamic": "5.2.11",
"@ionic-native/core": "~4.18.0",
"@ionic-native/splash-screen": "~4.18.0",
"@ionic-native/status-bar": "~4.18.0",
"@ionic/storage": "2.2.0",
"angularfire2": "^5.1.1",
I have a module here called ng2-swipe-cards and whenever I try to create a production build I get the following error :
[09:59:04] typescript error
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' 'NgModule' calls 'makeDecorator'.```
I have searched all over the internet for a solution and someone tells me that it is because **the module is built for angular2**
I want to first ask if anyone here knows whether this is the case and in anycase, how would I downgrade my ionic to angular2 and still have it work?