Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular2 Meteor Socially Tutorial step 0 broken #250

Closed
Nauzer opened this issue Sep 25, 2016 · 2 comments
Closed

Angular2 Meteor Socially Tutorial step 0 broken #250

Nauzer opened this issue Sep 25, 2016 · 2 comments

Comments

@Nauzer
Copy link

Nauzer commented Sep 25, 2016

After installing 'angular2-meteor-auto-bootstrap' myself I can run the app of
https://www.angular-meteor.com/tutorials/socially/angular2/bootstrapping

However in the browser console I get the following error:
core.umd.js:403 Uncaught reflect-metadata shim is required when using class decorators

After adding the following to app.component.ts:

import 'reflect-metadata';

The console error changes to:

index.umd.js:21 Uncaught TypeError: Cannot read property 'current' of undefined


running meteor npm install give the following errors:

angular2-meteor-base@ /Users/Nauzer/Documents/DevShed/socially
├── UNMET PEER DEPENDENCY angular2-meteor@0.7.0-beta.2
└── UNMET PEER DEPENDENCY rxjs@5.0.0-beta.12

npm WARN angular2-meteor-auto-bootstrap@0.6.0 requires a peer of angular2-meteor@^0.6.0 but none was installed.
npm WARN meteor-rxjs@0.1.0 requires a peer of rxjs@5.0.0-beta.11 but none was installed.
@Nauzer
Copy link
Author

Nauzer commented Sep 26, 2016

I just installed the zip with step 1 with the working project up to that step and that works - it contains angular2 rc4 however. Something is breaking with step 0 with the latest 2.0.0 release version of angular and it's dependencies (see above).

@Urigo
Copy link
Owner

Urigo commented Oct 6, 2016

Hi everyone and sorry for the late response.
We were hard at work for updating to the latest Angular 2.0 stable.
Please try the new angular2-meteor@0.7.0, angular2-compilers@0.6.3 and the latest Angular 2.0.

We've update the Socially 2.0 tutorial and the Blaze to Angular 2 migration tutorial for reference - https://www.angular-meteor.com/migration/angular2/intro

Sorry for the long wait, it was very hard to keep up with Angular 2 releases in latest months.

If you find issues, please open new ones on the Github repo.

@Urigo Urigo closed this as completed Oct 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants