我正在使用Ionic和Angular。因此,当我尝试使用命令ionic g page Page-Name时,我得到的错误信息是“找不到导入。使用跳过导入选项跳过在NgModule中导入”。也可以进入src\app文件夹,但页面是在根文件夹而不是app文件夹中生成的。/build-angular:dev-server",
"options":
当使用ng g c my-component生成一个新组件时,我会得到以下错误:
找不到NgModule。使用skip选项在NgModule中跳过导入。如果我然后使用跳过导入选项角将在我的e2e文件夹中生成组件。我假设这与我的angular.json文件有关,该文件在我运行ng升级之前曾被称为angular-cli.json,这无疑是造成问题的原因,因为似乎出现了一些结构性变化。有没有办法解决这个问题,而不使用CLI创建</
If 'highcharts-chart' is an Angular component, then verify that it is par 2.of component AppComponent.import { BrowserModule } from '@angular/platform-browser';import { NgModule } from '@angular