Upgrading from Angular beta 15 to 16, my app breaks with this console error
at startup:
Error: Error: Token must be defined!(…)x @ es6-promise.min.js:9
C @ es6-promise.min.js:9
T @ es6-promise.min.js:9
A @ es6-promise.min.js:9
a @ es6-promise.min.js:9
ZoneDelegate.invoke @ angular2-polyfills.js:349
Zone.runGuarded @ angular2-polyfills.js:256
Zone.wrap @ angular2-polyfills.js:232
My npm has these dependencies:
"dependencies": {
"angular2": ">=2.0.0-beta.16",
"systemjs": ">=0.19.26",
"es6-promise": "^3.1.2",
"es6-shim": "^0.35.0",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2",
"zone.js": ">=0.6.10",
"raphael": ">=2.1.4",
"jquery": ">=2.1.4",
"bootstrap": ">=3.3.5"
and I bootstrap in index.html using:
console.log("Step 1.\n");
System.config({
packages: { 'src': { defaultExtension: 'js' } }
});
console.log("Step 2.\n");
System.import('src/app')
.catch(console.error.bind(console));
Step 1 and Step 2 are both logged to the console right before the error.
Any ideas?
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.