barbatus/angular2

system.js is trying to download angular2/angular2 in the browser

pgrm opened this issue · 1 comments

pgrm commented

After updating to the latest angular2 version I'm getting the following error in the browser:

Uncaught SyntaxError: Unexpected token <

turns out, the browser is trying to download a file from http://localhost:3000/angular2/angular2

returning to the previous version by running

git checkout '*'
meteor reset
meteor

makes the application work again without problems. I've late updated the packages one by one and found that the error occurs whenever this package gets updated.

There is a similar issue in the socially tutorial - Urigo/meteor-angular2.0-socially#18

any ideas?

pgrm commented

https://github.com/Urigo/Meteor-Angular2#change-log describes how to resolve this issue