Angular2 Meteor Socially Tutorial Not Working


#1

I’ve been trying the Socially tutorial with Angular2 but it isn’t working. I’m able to start the meteor app with blaze but not after adding the Angular2 dependencies. The error I get is “@angular/core can’t be found.” Oddly enough it worked just fine yesterday. What is the problem and when will this be fixed?


#2

You can try using my boilerplate code I just updated to use Angular 2 RC4 and Meteor 1.3.4.1 https://github.com/trajano/meteor-boilerplate/tree/angular2

Note you will get peer dependency errors because angular2-meteor hard codes older versions of the angular2 packages. However, the application will still start correctly from my observations.

The way I got around the issues was to just take the dependencies noted in https://angular.io/docs/ts/latest/quickstart.html#!#create-and-configure with the versions specified directly into package.json, then do the meteor npm install afterwards.