Open jasonkuhrt opened 12 years ago
Adding these lines in server.js
, right after code = code.replace("<html>",'<html ng-app="meteorapp">');
solves the problem :
if (typeof __meteor_runtime_config__ !== 'undefined') {
code = code.replace(
"// ##RUNTIME_CONFIG##",
"__meteor_runtime_config__ = " +
JSON.stringify(__meteor_runtime_config__) + ";");
}
But I don't know if it's a good solution.
It is a good fix @TiuSh . The error will be fixed when I release the new version of the angularjs for Meteor. It will come soon .
I see that error for meteor 0.5.2
@aprnsk Are you using the latest version?
yes
Go to browser, open console and see: