Topic: 6.2.3 Update: CollapseDirective not exported

explicatis pro asked 6 years ago


Hello, since update to v6.2.3 i have following Error, it seems like a bug in 6.2.3:
"...node_modules/ng-uikit-pro-standard/ng-uikit-pro-standard" has no exported member 'CollapseDirective'
I included mdb angular with npm install git+https://oauth2:<your-token>@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git Is there any way to switch to an older version of mdb-angular? Can the version be set in package.json? It's important for me to fix this as fast as possible..   Thanks for your help, Felix

Damian Gemza staff answered 6 years ago


Dear Felix, In 6.2.3, the CollapseDirective was changed to CollapseComponent - it's better to use this component. If you want to resolve your problem, change CollapseDirective in your code to CollapseComponent. But if you don't want to do that, and you need to fix this problem, use the older version of MDB Angular - for example 6.2.2. If you'll type below command in terminal, you'll install the 6.2.2 version of MDB Angular. npm install git+https://oauth2:<your-token>@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git#6.2.2 Best Regards, Damian

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 6.2.2
  • Device: .
  • Browser: Chrome
  • OS: Win 10
  • Provided sample code: Yes
  • Provided link: No