Topic: MDB Angular 4.3.7 ToastService Error
rze pro asked 7 years ago
nselladu premium answered 7 years ago
nselladu premium commented 7 years ago
I downloaded again today right now and did npm start. It is working for me now. cheers.Don Irwin pro answered 7 years ago
Don Irwin pro commented 7 years ago
removing `import { ToastService } from ‘./typescripts/pro;` from app.component.ts fixed this for me.Dawid Adach pro commented 7 years ago
Indeed , as per newest docs which I have placed within original answer. There was a change, you SHOULD NOT load ToastModule from import { ToastService } from ‘./typescripts/pro; , but from import {ToastService} from '../../typescripts/pro/alerts'vizmedia pro answered 7 years ago
Dawid Adach pro answered 7 years ago
dantavious pro commented 7 years ago
I did use a fresh copy. I tried it again today and receive the following error. ERROR in /data/code/linux/mdb-angular-pro/src/app/app.component.ts (2,10): Module '"/data/code/linux/mdb-angular-pro/src/app/typescripts/pro/index"' has no exported member 'ToastService'. webpack: Failed to compile.shuailiu.usa pro commented 7 years ago
I got exactly same error.Don Irwin pro commented 7 years ago
I downloaded a fresh copy of mdb-angular-pro-4.3.7.zip and get the same error :-(Dawid Adach pro commented 7 years ago
Guys, please check the docs which I have placed within original answer. There was a change, you SHOULD NOT load ToastModule from import { ToastService } from ‘./typescripts/pro; , but from import {ToastService} from '../../typescripts/pro/alerts'FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
dantavious pro commented 7 years ago
Thanks for this post. It really helped me out.