安装角质材料后,每当我导入任何形式的“角/材料”时,我都会得到以下错误
error NG6002:出现在NgModule.imports of AppModule中,但无法解析为NgModule类。我尝试删除node_modules并使用npm重新下载。试着重新安装角质材料,我还是一次又一次地遇到同样的错误。
当我试图在构造函数中设置我的Error: Can't resolve all parameters for SelectListComponent:时,我会得到一个错误,上面写着brandsServiceconstructor(public brandsService:BrandsService){}import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular
当我尝试执行ng build时,我得到一个错误消息: ERROR in node_modules/@angular/common/http/http.d.ts:81:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.并通过ng install重新安装它。以下是我对ng version的<
我正在尝试发布我的应用程序,当我第一次尝试的时候,我遇到了各种各样的问题。现在我遇到了一个奇怪的问题,在没有发布的开发版本中,我可以让我的服务器工作。Error: No NgModule metadata found for 'AppModule'.metadata found for 'AppModule'.Error: No NgModule metadata found