当我使用ng serve运行我的角形应用程序时,我得到了这个错误:
Can't bind to 'mdMenuTriggerFor' since it isn't a known property of 'button'
我已经进口了所需的一切,所以我不明白为什么会发生这种情况。
module.ts:
.......
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { BrowserModule } fro
我试图导入AngularFireModule和AngularFirestoreModule,但它说
Module '"@angular/fire/firestore"' has no exported member 'AngularFirestoreModule'.
Module '"@angular/fire"' has no exported member 'AngularFireModule'.
下面是我在我的app.module.ts中得到的信息:
import { NgModule } f
我试图在一个延迟加载组件中实现一个反应性表单,并得到以下错误。
ERROR Error: Uncaught (in promise): Error: Template parse errors:
Can't bind to 'formGroup' since it isn't a known property of 'form'. ("<h3>Product List</h3>
<form [ERROR ->][formGroup]="myForm">
<inp
当我尝试将组件添加到应用程序时,出现此错误,但我不知道发生了什么
我的代码
Error: src/app/product/product.component.ts:7:14 - error NG6002: Appears in the NgModule.imports of AppModule, but could not ble.imports of AppModule, but could not be resolved to an NgModule class.
Is it missing an @NgModule annotation?
应用程序/产品中的product.compon