Closed larrifax closed 8 years ago
This is really great to know about, thanks for posting.
Can you share the config.js
file here before the upgrade at all?
Sure. This is it:
System.config({
defaultJSExtensions: true,
transpiler: false,
paths: {
"github:*": "jspm_packages/github/*",
"npm:*": "jspm_packages/npm/*"
},
packages: {
"app": {
"main": "bootstrap"
}
},
meta: {
"ms-signalr-client/jquery.signalr-2.2.0": {
"globals": {
"jQuery": "jquery",
"$": "jquery"
}
}
},
map: {
"@angular/common": "npm:@angular/common@2.0.0-rc.1",
"@angular/core": "npm:@angular/core@2.0.0-rc.1",
"@angular/http": "npm:@angular/http@2.0.0-rc.1",
"@angular/platform-browser-dynamic": "npm:@angular/platform-browser-dynamic@2.0.0-rc.1",
"@angular/router-deprecated": "npm:@angular/router-deprecated@2.0.0-rc.1",
"@ngrx/store": "npm:@ngrx/store@2.0.0",
"crypto": "@empty",
"es6-shim": "npm:es6-shim@0.35.1",
"jquery": "npm:jquery@2.2.4",
"larrifax/oidc-client": "github:larrifax/oidc-client@0.4.0",
"lodash": "npm:lodash@4.13.1",
"moment": "npm:moment@2.13.0",
"ms-signalr-client": "npm:ms-signalr-client@2.2.2",
"normalizr": "npm:normalizr@2.1.0",
"oidc-client": "npm:oidc-client@1.0.1",
"perfect-scrollbar": "npm:perfect-scrollbar@0.6.11",
"reflect-metadata": "npm:reflect-metadata@0.1.3",
"rfc6902": "npm:rfc6902@1.2.1",
"rxjs": "npm:rxjs@5.0.0-beta.6",
"tether": "npm:tether@1.3.2",
"zone.js": "npm:zone.js@0.6.12",
"github:jspm/nodelibs-assert@0.1.0": {
"assert": "npm:assert@1.4.1"
},
"github:jspm/nodelibs-buffer@0.1.0": {
"buffer": "npm:buffer@3.6.0"
},
"github:jspm/nodelibs-path@0.1.0": {
"path-browserify": "npm:path-browserify@0.0.0"
},
"github:jspm/nodelibs-process@0.1.2": {
"process": "npm:process@0.11.3"
},
"github:jspm/nodelibs-util@0.1.0": {
"util": "npm:util@0.10.3"
},
"npm:@angular/common@2.0.0-rc.1": {
"@angular/core": "npm:@angular/core@2.0.0-rc.1",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:@angular/compiler@2.0.0-rc.1": {
"@angular/core": "npm:@angular/core@2.0.0-rc.1",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:@angular/core@2.0.0-rc.1": {
"process": "github:jspm/nodelibs-process@0.1.2",
"rxjs": "npm:rxjs@5.0.0-beta.6",
"zone.js": "npm:zone.js@0.6.12"
},
"npm:@angular/http@2.0.0-rc.1": {
"@angular/core": "npm:@angular/core@2.0.0-rc.1",
"rxjs": "npm:rxjs@5.0.0-beta.6"
},
"npm:@angular/platform-browser-dynamic@2.0.0-rc.1": {
"@angular/common": "npm:@angular/common@2.0.0-rc.1",
"@angular/compiler": "npm:@angular/compiler@2.0.0-rc.1",
"@angular/core": "npm:@angular/core@2.0.0-rc.1",
"@angular/platform-browser": "npm:@angular/platform-browser@2.0.0-rc.1",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:@angular/platform-browser@2.0.0-rc.1": {
"@angular/common": "npm:@angular/common@2.0.0-rc.1",
"@angular/compiler": "npm:@angular/compiler@2.0.0-rc.1",
"@angular/core": "npm:@angular/core@2.0.0-rc.1",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:@angular/router-deprecated@2.0.0-rc.1": {
"@angular/common": "npm:@angular/common@2.0.0-rc.1",
"@angular/core": "npm:@angular/core@2.0.0-rc.1",
"@angular/platform-browser": "npm:@angular/platform-browser@2.0.0-rc.1"
},
"npm:@ngrx/core@1.0.0": {
"@angular/core": "npm:@angular/core@2.0.0-rc.1",
"rxjs": "npm:rxjs@5.0.0-beta.6"
},
"npm:@ngrx/store@2.0.0": {
"@angular/core": "npm:@angular/core@2.0.0-rc.1",
"@ngrx/core": "npm:@ngrx/core@1.0.0",
"rxjs": "npm:rxjs@5.0.0-beta.6"
},
"npm:assert@1.4.1": {
"assert": "github:jspm/nodelibs-assert@0.1.0",
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
"process": "github:jspm/nodelibs-process@0.1.2",
"util": "npm:util@0.10.3"
},
"npm:babel-polyfill@6.9.1": {
"babel-runtime": "npm:babel-runtime@6.9.2",
"core-js": "npm:core-js@2.4.0",
"process": "github:jspm/nodelibs-process@0.1.2",
"regenerator-runtime": "npm:regenerator-runtime@0.9.5"
},
"npm:babel-runtime@6.9.2": {
"core-js": "npm:core-js@2.4.0",
"regenerator-runtime": "npm:regenerator-runtime@0.9.5"
},
"npm:buffer@3.6.0": {
"base64-js": "npm:base64-js@0.0.8",
"child_process": "github:jspm/nodelibs-child_process@0.1.0",
"fs": "github:jspm/nodelibs-fs@0.1.2",
"ieee754": "npm:ieee754@1.1.6",
"isarray": "npm:isarray@1.0.0",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:core-js@2.4.0": {
"fs": "github:jspm/nodelibs-fs@0.1.2",
"path": "github:jspm/nodelibs-path@0.1.0",
"process": "github:jspm/nodelibs-process@0.1.2",
"systemjs-json": "github:systemjs/plugin-json@0.1.2"
},
"npm:es6-shim@0.35.1": {
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:inherits@2.0.1": {
"util": "github:jspm/nodelibs-util@0.1.0"
},
"npm:isarray@1.0.0": {
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
},
"npm:jsrsasign@5.0.12": {
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
"fs": "github:jspm/nodelibs-fs@0.1.2",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:lodash@4.13.1": {
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:ms-signalr-client@2.2.2": {
"jquery": "npm:jquery@2.2.4"
},
"npm:normalizr@2.1.0": {
"lodash": "npm:lodash@4.13.1"
},
"npm:oidc-client@1.0.1": {
"babel-polyfill": "npm:babel-polyfill@6.9.1",
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
"jsrsasign": "npm:jsrsasign@5.0.12",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:path-browserify@0.0.0": {
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:process@0.11.3": {
"assert": "github:jspm/nodelibs-assert@0.1.0"
},
"npm:regenerator-runtime@0.9.5": {
"path": "github:jspm/nodelibs-path@0.1.0",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:rxjs@5.0.0-beta.6": {
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:util@0.10.3": {
"inherits": "npm:inherits@2.0.1",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:zone.js@0.6.12": {
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
"process": "github:jspm/nodelibs-process@0.1.2"
}
}
});
Thanks so much, that helped find it and I've included a fix in https://github.com/jspm/jspm-cli/commit/dfaf1c370d2995b2938d009c972b692e54fc2a7a.
Released in 0.17.0-beta.19.
I'm attempting to upgrade my 0.16.x project to 0.17.0-beta.17, but it fails with the following error.
This is the content of the jspm-part of package.json: