Incomplete meteor.com deploy?


#1

I just tried to deploy my app to meteor.com. It used to work without issue with my seeding stuff. However this time the database seems to be empty, and also the app complains about not able to find many template helpers from the client side.

I tried a few times, the first few times gives me some html with error message. Finally it said “Now serving at …” but I encounter the above said issue.

Is this mine or meteor.com’s issue?

If that’s my issue, I’d like to seek for suggestions for debug?

Thanks.


#2

Got connected to the deployed .meteor.com DB and data is intact.

Turns out it’s JS load order issue. Some global template helpers are not loaded before they are used. That means the loading order of local dev run could be inconsistent with deployed app. So as code grows, need to be aware and explicitly setting load order.