在上执行这些步骤以将我的角5 SPA升级到角6之后,在导航到该应用程序之后,我得到了这个错误:
ERROR Error: Uncaught (in promise): TypeError: undefined is not a function
TypeError: undefined is not a function
at Array.map (<anonymous>)
at webpackAsyncContext ($_lazy_route_resource lazy namespace object:21)
at SystemJsNgModu
在我向项目中添加了两个组件之后,我不再看到这个标记"ng-sidebar-container“。返回此错误: Error: src/app/app.component.html:3:1 - error NG8001: 'ng-sidebar-container' is not a known element:
1. If 'ng-sidebar-container' is an Angular component, then verify that it is part of this module.
2. If 'ng-sidebar-con
环境: Angular 2 RC5,..从RC4升级到RC5
错误:
Uncaught EXCEPTION: Error in http://localhost:4200/app/forgot-username/forgot-username.component.html:39:60
ORIGINAL EXCEPTION: Type ModalBackdropComponent is part of the declarations of 2 modules: Myodule and AppModule!
ORIGINAL STACKTRACE:
Error: Type ModalBackdr
我用的是角度和Nativescript的原理图。我已经安装了本地文本-ui-侧抽屉。当我跑的时候
tns run ios --bundle
本机版本被编译并部署到设备上,但当我运行时
ng serve
web版本失败了,有几个错误,都是非常相似的。第一个是
ERROR in ./node_modules/tns-core-modules/ui/builder/component-builder/component-builder.js
Module not found: Error: Can't resolve '../../../platform' in '/
我正在处理一个路由组件的测试,我总是得到,我想我可能不得不导入更多的模块或提供一些东西,但我没有设法让它正常工作?下面是错误和代码..。
TypeError: Cannot read property 'subscribe' of undefined
at new RouterLinkWithHref (/node_modules/@angular/router/@angular/router.es5.js:5028:1)
at createClass (/node_modules/@angular/core/@angular/core.es5.js:10926:1)
at c
这个奇怪的错误,我不记得看到了前常春藤,已经弹出了一个新的应用程序创建与最新的角度9 CLI。看上去可能是艾薇身上的虫子?任何关于如何修复的想法都将不胜感激。
ng测试的误差结果
Error: This constructor was not compatible with Dependency Injection.
at Module.ɵɵinvalidFactory (http://localhost:9876/_karma_webpack_/node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js:14150:1)
at
通过在反应形式中使用此方法
<form #branchForm [formGroup]='branchForm'>
我犯了一些错误
Error: Uncaught (in promise): Error: Template parse errors:
Can't bind to 'formGroup' since it isn't a known property of 'form'. ("
<div class="box">
<div cla
我已经创建了一个共享模块,每当我在另一个模块中尝试从共享模块访问组件时,它就在app.module.ts中注册,然后注册的组件不可用。
错误:
'app-custom-autocomplete' is not a known element:
1. If 'app-custom-autocomplete' is an Angular component, then verify that it is part of this module.
2. If 'app-custom-autocomplete' is a Web Component th