我正在使用Angular,但在服务器上的生产环境中,我得到了这个错误: https://daphneprojects.nl/invoices see here at this link.
Error: Uncaught (in promise): NullInjectorError: StaticInjectorError[A -> A]:
StaticInjectorError(Platform: core)[A -> A]:
NullInjectorError: No provider for A!
NullInjectorError: StaticInje
我在我的8角应用程序中尝试使用ng-select。我得到了一个运行时错误:
core.js:6249 ERROR Error: Uncaught (in promise): NullInjectorError: StaticInjectorError(AppModule)[NgSelectComponent -> NgSelectConfig]:
StaticInjectorError(Platform: core)[NgSelectComponent -> NgSelectConfig]:
NullInjectorError: No provider for Ng
在我的应用程序中,升级到角14后,我将面临以下错误。我使用延迟加载,并对根和子RouterModule进行了正确的配置,并在app.module.ts中导入了它。此外,还面临路由器的循环依赖错误。不确定如何进一步调试它以解决错误。感谢您的提前指导!
app err NullInjectorError: NullInjectorError: No provider for UrlHandlingStrategy!
at NullInjector.get (core.mjs:)
at R3Injector.get (core.mjs:)
at R3Injector.get (core.mjs:)
我已经用ionic构建了一个‘ve应用。我正在尝试将MSALModule导入我的应用程序。根据我在网上找到的教程等,你必须在app模块中添加以下内容:
MsalModule.forRoot({
clientID: OAuthSettings.appId
}),
目前,当我试图转到使用它的页面时,它会给我以下错误。
We have a generic Error: Error: Uncaught (in promise): Error: StaticInjectorError(AppModule)[MsalGuard -> Router]:
StaticInje
我使用一个组件作为通过路由到达的常规组件,但当使用注入到组件中时,我希望它也用作模态对话框的“目标”:
export class Component1 implements OnInit {
constructor(private service: <someService>,
public dialogRef: MatDialogRef<Component1>, //These 2 lines are used as
//injection from the opener
@In
首先,我要测试的服务
@Injectable()
export class CheckForUpdateService {
constructor(appRef: ApplicationRef, updates: SwUpdate) {
console.log('CheckForUpdateService started');
// Allow the app to stabilize first, before starting polling for updates with `interval()`.
const appIsStable$
复制产品生成的步骤是成功的,但应用程序就是不起作用。
ERROR NullInjectorError: StaticInjectorError(c)[$ -> V]: StaticInjectorError(Platform: core)[$ -> V]: NullInjectorError: No provider for V! at j.get (http://localhost:4200/main.205a39b164af2df4f46e.js:1:257106) at http://localhost:4200/main.205a39b164af2df4f46e.js:1: