当我在安圭拉8的角度材料组件项目中运行ng test时,我遇到了多个失败。我还没有为这些场景编写任何特定的测试用例。
DeleteBotModalComponent > should create
Failed: Template parse errors:
'mat-label' is not a known element:
1. If 'mat-label' is an Angular component, then verify that it is part of this module.
2. If 'mat-label' is
我试图在一个使用<mat-form-field>的角度项目中使用Material2,但我碰到了一堵墙。
获取下面的错误消息。
Uncaught Error: Template parse errors:
'mat-form-field' is not a known element:
1. If 'mat-form-field' is an Angular component, then verify that it is part of this module.
2. If 'mat-form-field' is a Web Com
我正在尝试用NG测试我的应用程序,但我在我的一个组件中使用了angular材料,它们在angular中不被识别为已知元素。我该如何解决这个问题呢?
错误如下:
'mat-form-field' is not a known element:
1. If 'mat-form-field' is an Angular component, then verify that it is part of this module.
2. If 'mat-form-field' is a Web Component then add 'CUSTOM_
我一直在做我的项目,所有突然的日食开始给出这个错误 The type com.google.protobuf.GeneratedMessageV3$Builder cannot be resolved. 它是从我们声明包所需的.class文件中间接引用的。我曾尝试将com.google.protobuf-2.4.0.jar添加到构建路径中,但不起作用。请帮忙,这是截图。 ?
我正在尝试使用链接中提供的解决方案使两个列在activeandroid中独一无二:,但它不起作用。编译器无法找到"uniqueGroups“和"ConflictAction”。我也导入了Column类,但仍然不能工作。
我目前正在使用activeandroid 3.0版,期待一些解决方案。下面给出了代码片段以供参考
@Table(name = "Farmer")
public class Farmer extends Model {
@Column(name = "image_path")
public String image
我试图从Intellij 14的Windows和Mac版本上运行Specs2测试。我使用gen-idea和内置的SBT插件生成了IDEA项目文件,并得到了相同的结果.
当我试图运行它们时,我得到
Error running Specs2 in 'scala': Test class not found
我添加了包,并将“搜索测试”转换为in single module,但仍然没有效果。我还在运行配置中得到了下面的消息。
Multiple suite traits detected: List(ScTrait: SpecificationStructure, ScTrait: S
我试图在我的项目中添加角度材料,但由于某种原因,它似乎不起作用。我得到了这个错误: ERROR in src/app/login/components/login/login.component.html:2:1 - error NG8001: 'mat-form-field' is not a known element:
1. If 'mat-form-field' is an Angular component, then verify that it is part of this module.
2. If 'mat-
我试图设计一个带有棱角材料的表单,但是当我加载所有的输入样式时,似乎都不起作用。
这是我的HTML代码
<!-- Title Tool Bar with Shadow Lv6 -->
<mat-toolbar class="app-header mat-elevation-z6" color="primary">
<!-- Tool Bar Row 1 -->
<mat-toolbar-row>
<!-- Side Bar Button Opener -->