复制粘贴https://github.com/ceolter/ag-grid-ng2-example中项目的一个组件的代码后,我有以下错误:

“错误:(SystemJS)XHR错误(404未找到)loading http://localhost:3000/ag-grid-ng2/main(...)”

我在我的component.ts文件中有以下内容:

import {AgGridNg2} from 'ag-grid-ng2/main';
import {AgComponentFactory} from 'ag-grid-ng2/main';
import {GridOptions} from 'ag-grid/main';


@Component({
    templateUrl: 'app/pages/missions/dashboard/index.html',
    selector: 'brandbassador-app',
    directives: [AgGridNg2],
    providers: [AgComponentFactory]
})

...

constructor(..., private _viewContainerRef:ViewContainerRef,
            private agComponentFactory:AgComponentFactory) { }

在我的HTML中,我有:

<ag-grid-ng2 #agGrid style="width: 100%; height: 200px;" class="ag-     fresh" [gridOptions]="gridOptions">

在我的package.json中,我有以下依赖项:

"ag-grid": "~5.2.0",
"ag-grid-enterprise": "~5.2.0",
"ag-grid-ng2": "~5.2.0",

我的angular2版本是2.0.0-rc.5,我的systemjs版本是0.19.36 . 我试图在github中使用项目示例的systemjs版本 . 编译项目时没有任何与此问题相关的错误或警告 .

谁可以帮我这个事?

谢谢你的帮助...