angular - 错误:NullInjectorError:StaticInjectorError(AppModule)[A11yModule -> HighContrastModeDetector],Angular,
问题描述
main.ts:12 NullInjectorError: StaticInjectorError(AppModule)[A11yModule -> HighContrastModeDetector]: StaticInjectorError(Platform: core)[A11yModule -> HighContrastModeDetector]: NullInjectorError: 没有 HighContrastModeDetector 的提供者!在 NullInjector.push../node_modules/@angular/core/fesm5/core.js.NullInjector.get (http://localhost:4200/vendor.js:54158:25) 在 resolveToken (http://localhost:4200 /vendor.js:65351:24) 在 tryResolveToken (http://localhost:4200/vendor.js:65295:16) 在 StaticInjector.push../node_modules/@angular/core/fesm5/core.js.StaticInjector。在 tryResolveToken (http://localhost:4200/vendor. js:65295:16) 在 StaticInjector.push../node_modules/@angular/core/fesm5/core.js.StaticInjector.get (http://localhost:4200/vendor.js:
解决方案
推荐阅读
- r - 为什么权限被拒绝从 R 写入此文件?
- java - jersey 单路径多类实现(以编程方式选择一个实例)类似于条件依赖注入
- typescript - 如何创建一个部分应用另一个函数的泛型的函数
- r - 带有 R 打印代码的 org-mode 不是图形
- linux - tsch 中的算术
- django - 有没有一种更简洁的方法将对象保存到数据库,而不是像这样一个一个地声明道具:
- c# - 为什么只有部分对象传递给家庭控制器?
- docker - 可以用 Docker Machine 管理 MacOS Docker 桌面吗?
- python - 无法修改谷歌驱动器上存在的 XLSX
- vuejs2 - Vue 和 FileReader API:如何在上传之前等待图像文件?