mongodb - Deploying Meteor + Angular2 app to Heroku -
i have app i'm writing using meteor, angular2 (using angular-meteor package), typescript, , mongodb. i'm trying put on heroku , running difficulties. i'm using meteor buildpack. i'm not sure whether problems meteor, heroku, or angular2, though suspect it's heroku isn't configuring correctly angular2. site @ http://alfred-zahner.herokuapp.com/ , error i'm getting is:
exception: no provider t! (e -> t)
i've checked heroku logs , there no sign of trouble there. part of problem can't see t
, e
are, (heroku?) uglifying javascript. i'm not sure how proceed in debugging this.
one way solve problem figure out , fix error, i'd happy if there's better build pack, or better (must free!) hosting environment using.
edit
it's not heroku's problem. same thing happens when deploying meteor's built in deployment testing (meteor deploy site.meteor.com
). if deploy using meteor deploy --debug site.meteor.com
, however, works, angular2 has problem processing happens when meteor prepares app production.
on angular2-meteor github found out issue angular 2 in particular, when using uglifyjs. now, seems solution use meteor deploy --debug
. i'm planning use on meteor's built in hosting until angular 2 plays nicely.
Comments
Post a Comment