Topic: MDB Angular 4.3.7 ToastService Error
                                                    
                                                    Dawid Adach
                                             pro                                             answered 8 years ago                                        
dantavious pro commented 8 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 8 years ago
I got exactly same error.Don Irwin pro commented 8 years ago
I downloaded a fresh copy of mdb-angular-pro-4.3.7.zip and get the same error :-(Dawid Adach pro commented 8 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'
                                                    
                                                    vizmedia
                                             pro                                             answered 8 years ago                                        
                                                    
                                                    Don Irwin
                                             pro                                             answered 8 years ago                                        
Don Irwin pro commented 8 years ago
removingimport { ToastService } from ‘./typescripts/pro; from app.component.ts fixed this for me.                                                    
                                                                                                            Dawid Adach pro commented 8 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'FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
 - Premium support: No
 - Technology: MDB Angular
 - MDB Version: -
 - Device: -
 - Browser: -
 - OS: -
 - Provided sample code: No
 - Provided link: No
 
dantavious pro commented 8 years ago
Thanks for this post. It really helped me out.