腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
错误
NullInjectorError
:
R3InjectorError
(
n
)[_
0
-> _
0
-> _
0
]:
NullInjectorError
:
没有
_
0
的
提供
程序
!-
当
使用
Angular
MatDialog
时
angular
、
angular-material
当我试图打开一个
Angular
MatDialog
时
,我在运行时遇到了这个
错误
。我做了一些研究,我发现了很多关于
提供
商缺失问题
的
帖子,但由于这条消息对我来说并不清楚,我不知道缺失
的
是我在
提供
商
的
app.module.ts上
的
什么东西,还是其他东西。: item-work-group.component.ts import { Component, Input, OnInit } from '@
ang
浏览 69
提问于2021-10-11
得票数 0
1
回答
错误
NullInjectorError
:
R3InjectorError
(AppModule)[Page->Page->页面]:
webpack
、
nativescript-angular
最近,我尝试从我
的
旧NS6应用
程序
迁移到NS8。我在
没有
运气
的
情况下遵循了这个页面上
的
步骤: 因此,我用CLI创建了一个新
的
NS8应用
程序
,手动地将我
的
工作NS6代码迁移到新
的
应用
程序
。昨天我犯了183个
错误
,现在到了最后一个
错误
,我一辈子都想不出来了。有什么想法吗?事先非常感谢!JS: ERROR
NullInjectorError
:
R3Injecto
浏览 8
提问于2021-06-22
得票数 2
1
回答
角材料UI InjectionToken MAT_TAB_GROUP误差
angular
、
angular-material
我正试着用棱角
的
材料界面。我准备了两个组件。[label]="label" [disabled]="disabled"></mat-tab> 当我启动系统
时
,我会得到以下
错误
。
错误
:未知(承诺):
NullInjectorError
:
R3InjectorError
(AppModule)InjectionToken MAT_TAB_G
浏览 0
提问于2021-05-21
得票数 0
1
回答
卡玛/茉莉花测试Ionic 6-
NullInjectorError
:
没有
地理定位
的
提供
者
angular
、
ionic-framework
、
jasmine
、
ionic-native
在尝试
使用
Ionic本地地理定位作为依赖项进行测试
时
,我收到了以下
错误
:
NullInjectorError
: No provider下面是测试设置
的
样子: import
浏览 18
提问于2022-08-23
得票数 0
1
回答
为什么
提供
程序
在组件中不起作用?
angular
我
使用
工厂
提供
PAGINATION_INTERAGENCY: export const PAGINATION_INTERAGENCY = new InjectionToken<any>('PAGINATION_INTERAGENCYnew PaginationService({ offset:
0
,InteragencyCooperationService,
浏览 6
提问于2020-10-23
得票数 0
回答已采纳
1
回答
不能
使用
角度材料选择
angular
、
select
、
angular-material
每当我尝试从
angular
material()中
使用
"select“
时
,我得到这个
错误
。不过,我导入了MatSelectModule。core.js:6272
错误
策略:
R3InjectorError
(RootModule)InjectionToken mat-select-scroll-strategy -> InjectionTokenmat-select-scroll-strategy:
NullInjectorError
:
没有
浏览 16
提问于2020-05-14
得票数 1
回答已采纳
1
回答
延迟加载模块中
的
提供
程序
angular
、
spartacus-storefront
当我在服务
提供
者中
使用
Spartacus
的
延迟加载模块
时
,我得到了一个关于需要
提供
服务
的
错误
: app.module.ts: featureModulesCustomCheckoutPageMetaResolver, },})当我试图导航到这个延迟模块
时</
浏览 4
提问于2021-02-10
得票数 2
3
回答
离子5 Cordova插件EmailComposer
NullInjectorError
ionic-framework
、
cordova-plugins
、
ionic-native
、
capacitor
我正在做一个应用
程序
使用
Ionic 5和电容。: core.js:6228
错误
: Uncaught (承诺):Error: NgModule 'SharedModule‘
的
无效
提供
程序
-只允许
提供
程序</e
浏览 3
提问于2020-09-15
得票数 1
回答已采纳
4
回答
NullInjectorError
:
R3InjectorError
(AppModule)[路由器->路由器->路由器]:
NullInjectorError
:
没有
路由器
提供
程序
angular
我有一个已发布
的
库,其中包含一个在其模板中
使用
routerLink
的
组件。在我
的
应用
程序
中安装了这个库之后,我得到了
错误
NullInjectorError
:
R3InjectorError
(AppModule)路由器-> ->路由器:
NullInjectorError
: No在库中
的
模块中导入RouterModule,如下所示: declarations: [ Com
浏览 5
提问于2020-09-29
得票数 10
回答已采纳
5
回答
“
NullInjectorError
:
没有
为t
提供
服务
的
供应商!”
使用
@ngrx出错
angular
、
ngrx
、
ngrx-effects
我有一个角12.0.2应用
程序
,它
使用
ngrx12.0.0。当我运行应用
程序
并访问延迟加载模块
的
路由
时
,我会得到以下
错误
。ERROR Error: Uncaught (in promise):
NullInjectorError
:
R3InjectorError
(t)[t -> InjectionToken @ngrx/effects
NullInjectorError
:
R3InjectorError
浏览 6
提问于2021-06-08
得票数 3
1
回答
测试
时
的
NullInjectorError
javascript
、
angular
、
typescript
、
testing
、
karma-jasmine
在角度12中运行ng测试
时
,我遇到了以下问题:
NullInjectorError
:
R3InjectorError
(DynamicTestModule)BaseURL -> BaseURL:
NullInjectorError
:
没有
BaseURL
的
提供
者!
错误
属性: Object({ ngTempTokenPath: null,ngTokenPath:'BaseURL','BaseURL‘})
NullI
浏览 1
提问于2021-09-21
得票数 0
回答已采纳
1
回答
使用
Angularfire
时
,如何使Firebase应用
程序
检查工作?
javascript
、
angular
、
firebase
、
angularfire
、
firebase-app-check
我正在尝试让Firebase应用
程序
检查工作,但我很难找到一种
使用
Angularfire
的
方法,因为从我所能找到
的
东西来看,上面似乎
没有
文档。,我会得到以下
错误
:
R3InjectorError
(AppModule)[AngularFireAuthGuard
NullInjectorError
:-> AngularFireAuth -> AppCheckInstances-> InjectionToken AngularFireAu
浏览 16
提问于2022-04-18
得票数 5
回答已采纳
1
回答
角9测试
错误
NullInjectorError
:
没有
窗口
提供
程序
angular
、
karma-jasmine
在这篇文章
的
一半时间里,我遵循了Jeff
的
建议: window.d.ts声明全局{接口窗口{ propName: MyInterface } 当我运行测试
时
,我不会收到这个
错误
。
NullInjectorError
:
R3InjectorError
(Dynam
浏览 0
提问于2021-01-19
得票数 1
回答已采纳
1
回答
指令不适用于非数字值
javascript
、
angular
、
typescript
、
angular-directive
、
angular-decorator
我已指示禁止在输入中输入非数字符号 import { NgControl } from "@
angular
/forms"; exportAs: "number-directive", selector: "number-directiveNgControl patchValue t
浏览 17
提问于2021-09-20
得票数 0
1
回答
角质/茉莉花:
没有
覆盖
的
提供
者!以及如何测试材料对话框
angular
、
jasmine
我试着测试一个棱角材质对话框,具体来说,我想测试
当
对话框关闭
时
,它是否修改了路径。为此,我不想模拟/存根对话框(我不认为?),因为我希望它运行实际
的
.subscribe方法来执行重路由。fixture.detectChanges(); expect(component).toBeTruthy();});<em
浏览 1
提问于2020-09-26
得票数 2
回答已采纳
4
回答
重用现有的“材料”对话框中
的
角元件
angular
、
dialog
、
angular-material
我想对
MatDialog
使用
相同
的
组件。因此,我在@Inject(MAT_DIALOG_DATA) data组件
的
构造函数中添加了ResultGridComponent。) data) {}
错误
: StaticInjectorError(AppModule)ResultGridComponent -> InjectionTokenMatDialogData: St
浏览 0
提问于2019-03-09
得票数 4
1
回答
Angular
9:
NULLINJECTORERROR
: NGXSMARTMODALSERVICE
没有
提供
程序
karma-jasmine
、
angular9
我在这里附上了我
的
规范文件。我得到了以下
错误
。1规范,1失败,用种子66295SPEC列表随机化|失败MULTINUMBERCOMPONENT >应创建失败: CREATE (IN PROMISE):
NULLINJECTORERROR
错误
:
R3INJECTORERROR
(DYNAMICTESTMODULE)ACTIONSERVICE -> NGXSMARTMODALSERVICE -> NGXSMARTMODALSERVICE:
NULLINJECTORERROR
<e
浏览 29
提问于2021-08-06
得票数 3
2
回答
NullInjectorError
:
没有
AnimationBuilder
的
提供
者!茉莉花业力测试失败
angular
、
typescript
、
unit-testing
、
karma-jasmine
我已经为我
的
应用
程序
创建了启动屏幕。但是在运行ng测试
时
,我发现appComponent说
的
错误
NullInjectorError
:
R3InjectorError
(DynamicTestModule)[SplashScreenService -> AnimationBuilder
浏览 2
提问于2021-05-19
得票数 0
回答已采纳
1
回答
为什么我会得到这个
错误
:
NullInjectorError
:
NullInjectorError
angular
、
testing
、
karma-jasmine
、
angular-test
我正在上一门关于角度测试
的
课程,我试图为一个组件设置一个带有服务
的
测试,并且这个服务
的
httpClias很简洁,但是当我尝试运行它
时
,我得到了这个
错误
。
NullInjectorError
:
R3InjectorError
(DynamicTestModule)[MedicoService -> HttpClient -> HttpClient]::
R3InjectorError
(DynamicTestModule)[MedicoServic
浏览 3
提问于2020-11-23
得票数 2
回答已采纳
1
回答
R3InjectorError
不
提供
NgbDropdown
angular
、
ng-bootstrap
、
angular9
、
angular-ivy
我
使用
了A
的
组件,但也直接
使用
了ngbDropdown。升级到角9后,
当
模块B被延迟加载
时
,我会收到以下
错误
:
错误
NullInjectorError
:
R3InjectorError
(BModule)NgbDropdown -> NgbDropdown:
NullInjectorError
:
没有
NgbDropdown
的
提供
者!/node_modul
浏览 2
提问于2020-03-19
得票数 1
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
选择语句中的常见错误
C语言错误处理和异常处理方法和策略,如何实现非局部跳转
为什么我的Excel函数又双叒叕报错了!
Excel公式又双叒叕报错了·这七种错误值你是否又都了解呢?
Excel科普文,常见8种错误类型总结,以及如何规避错误值?
热门
标签
更多标签
活动推荐
运营活动
广告
关闭
领券