Systemjs构建器buildStatic失败,角度为2 rc.1

时间:2016-05-29 21:29:47

标签: angular systemjs

什么是process.js以及它来自哪里?

我的应用包含

System.register(["rxjs/add/operator/map", "rxjs/add/observable/of", "component-1"], function(exports_1) {
    return {
        setters:[
            function (_1) {},
            function (_2) {},
            function (_3) {}
        execute: function() {
        }
    }
});

buildStatic会出现以下错误......

Unhandled rejection Error on fetch for process.js at file:///process.js
        Loading bundle/src/app.js
        Loading component-1
        Loading npm:@angular/core@2.0.0-rc.1/index
        Loading npm:@angular/core@2.0.0-rc.1/src/metadata
        Loading npm:@angular/core@2.0.0-rc.1/src/metadata/view
        Error: ENOENT: no such file or directory, open 'process.js'
    at Error (native)

0 个答案:

没有答案