Thank you for the reply, but I am still confused. My package.json is almost
the same as yours:
"dependencies": {
"angular2": "^2.0.0-alpha.54",
"bootstrap": "^3.3.6",
"jquery": "^2.1.4",
"moment": "^2.10.6",
"systemjs": "^0.19.6",
"es6-promise": "^3.0.2",
"es6-shim": "^0.33.3",
"reflect-metadata": "^0.1.2",
"rxjs": "^5.0.0-alpha.14",
"zone.js": "^0.5.8"
},
"devDependencies": {
"del": "^2.2.0",
"gulp": "^3.9.0",
"gulp-live-server": "^0.0.29",
"gulp-sourcemaps": "^1.6.0",
"gulp-tslint": "^3.6.0",
"gulp-typescript": "^2.10.0",
"concurrently": "^1.0.0",
"typescript": "^1.7.3"
}
I am not clear what does it mean "*those external dependencies can be
easily loaded into a browser using angular2-polyfills.js*"
I didn't see you using this library in any of your examples.
Thank you again for your help.
On Tuesday, December 15, 2015 at 10:46:19 AM UTC-5, Pawel Kozlowski wrote:
>
> Nope, this is related to this breaking change in alpha.54
> (
> https://github.com/angular/angular/blob/master/CHANGELOG.md#200-alpha54-2015-12-15):
>
>
>
> "Previously angular2.js, angular2.min.js and angular2.dev.js bundles
> would have zone.js and reflect-metadata pre-appended. New bundles
> don't contain zone.js nor reflect-metadata - those external
> dependencies can be easily loaded into a browser using
> angular2-polyfills.js"
>
> Example projects that work correctly with alpha.54:
> ES5: https://github.com/pkozlowski-opensource/ng2-es5-play
> SystemJS loader: https://github.com/pkozlowski-opensource/ng2-play
> WebPack: https://github.com/angular/angular2-seed
>
> Cheers,
> Pawel
>
>
> On Tue, Dec 15, 2015 at 4:32 PM, JG <[email protected] <javascript:>>
> wrote:
> > just upgraded to ng2 alpha 54. getting "Uncaught reflect-metadata shim
> is
> > required when using class decorators". Guess it's related to "RxJS needs
> to
> > be loaded explicitly" but not sure how to "load" it.
> >
> > --
> > 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] <javascript:>.
> > To post to this group, send email to [email protected]
> <javascript:>.
> > Visit this group at https://groups.google.com/group/angular.
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> AngularJS book:
> http://www.packtpub.com/angularjs-web-application-development/book
> Looking for bootstrap-based widget library for AngularJS?
> http://angular-ui.github.com/bootstrap/
>
--
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.