Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Angular CLI Error -

saravanancomsc pro asked 7 years ago


Hi All, I am getting below error from angular-cli, while am trying to build using "ng serve" command. ERROR in C:/Users/XXXXX/Desktop/poc/mdb-angular-pro-4.3.7/mdb-angular-pro/src/app/app.component.ts (2,10): Module '"C:/Users/XXXXX/Desktop/poc/mdb-angular-pro-4.3.7/mdb-angu lar-pro/src/app/typescripts/pro/index"' has no exported member 'ToastService'. ERROR in C:/Users/XXXXX/Desktop/poc/mdb-angular-pro-4.3.7/mdb-angular-pro/src/app/app.component.ts (2,10): Module '"C:/Users/XXXXX/Desktop/poc/mdb-angular-pro-4.3.7/mdb-angu lar-pro/src/app/typescripts/pro/index"' has no exported member 'ToastService'.

Dawid Adach pro answered 7 years ago


Dear saravanancomsc, please download the newest package from your account page: https://mdbootstrap.com/my-account/downloads/ It has been fixed few weeks back, import statement has been changed recently :
import { ToastService } from './typescripts/pro/alerts';


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags