我在我的项目中使用angular 2,当我使用ng build和ng serve时,我没有得到以下错误。只有在使用prod build ng build --prod时才会发生这种情况
ERROR in Error: Illegal state:
Could not load the summary for directive "component name"
在我的项目中使用了以下依赖项。
任何人请尝试帮助解决此问题:
Node :8.10.0
"dependencies": {
"@angular-devkit/core
我已经创建了一个新的应用程序使用Ionic与3个组件,主页,页眉和页脚。我试图在多个页面上使用页眉和页脚(目前只在主页上),方法是引用它们。
我尝试过将头引用到Home.page.html中,但是我没有工作。
<app-header></app-header>
<ion-content>
<div class="ion-padding">
The world is your oyster.
<p>If you get lost, the <a target="_b