应用程序的构建和工作没有任何错误;但当我执行ng test时,它会失败并出现错误:'app-cities' is not a known element("<main> <h1>Hello from Angular 2 App with Webpack</h1> <div class="ui segment raised"> Hello </
/app/app.component.html'export class AppComponent {在我使用angular2模板加载器之前,它工作得很好。/src/client/app/app.component.ts
Module not found: Error: Cannot resolve 'file' or 'directory' ./app/app.component.html‘在相对
我正在尝试让一个非常简单的Angular2应用程序工作,与Webpack作为一个模块捆绑。我遵循,并按原样复制了所有配置文件,只是更改了文件路径。然而,当我运行npm-start时,我得到了以下错误,我认为这是一个Webpack错误:| import {bootstrap} from "angular2/platform/browser";
| import {Component} from "
上一次我这样做的时候,我很肯定,它没有任何错误。现在,我在浏览器控制台中得到了这个错误,并且应用程序并没有完全加载:Unexpected character "EOF" (": ['Index'] } // otherwise url when not existexport class AppComponent {
name = 'Angular 2 Webpack, Ha