Tag: ng2file upload

为什么会得到“TypeError:Reflect.getOwnMetadata不是一个函数”

我正在使用Angular2和Node.js进行file upload与ng2file upload,但在运行我的项目时,我得到了一个与Reflect.getOwnMetadata有关的错误,这里显示的错误是: 这里是我的systemjs.config.js (function (global) { System.config({ paths: { // paths serve as alias 'npm:': 'node_modules/' }, // map tells the System loader where to look for things map: { // our app is within the app folder app: 'app', // angular bundles '@angular/core': 'npm:@angular/core/bundles/core.umd.js', '@angular/common': 'npm:@angular/common/bundles/common.umd.js', '@angular/compiler': 'npm:@angular/compiler/bundles/compiler.umd.js', '@angular/platform-browser': 'npm:@angular/platform-browser/bundles/platform-browser.umd.js', '@angular/platform-browser-dynamic': 'npm:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js', '@angular/http': […]