更新时间:2023-01-18 23:01:08
遇到了同样的错误.原来我正在导入
Had the same error. Turns out I was importing
从 '@angular/material' 导入 { MatDialog };
应该是
从 '@angular/material/dialog' 导入 { MatDialog };
角度材料没有 MatDialog 的提供者!错误
Angular 4 错误:没有 HttpClient 的提供者
Store 没有提供者!注射错误Error
Nativescript/angular2:没有applicationRef的提供者!部署后出现错误
Angular 2 - 错误:令牌FirebaseAppName没有提供者
错误:没有 t 的提供者
角度2:没有(注入)服务的提供者
角材料 没有 MatDialog 的提供者!错误
角错误“"InjectionToken ORIGIN_URL没有提供者!"
错误:ChildrenOutletContexts没有提供者