I have the following code in a /client/views/main.js file:
It works fine in dev, but not anymore in production, neither with
Also tried without
Meteor.startup(), and replace
"USERNAME_AND_OPTIONAL_EMAIL" to no avail.
This would be the same problem as
https://groups.google.com/forum/#!topic/meteor-talk/koO1736UTbE it seems.
Also I use
Any help would be greatly appreciated. Having different behaviors in dev and prod is a bummer
Stuck with the exact same problem. Were you able to figure out the reason?
Make sure you put this code in both server and client context, you have it in a client folder
This file has been truncated.
// Client-side Validation
Mm, maybe this is only for useraccounts …