Closed jackmatt2 closed 9 years ago
Well I got this working by replacing the Handlebars with the full version of handlebars. I am not convinced now that this was a ember-idx-modal issue. I think maybe the error was occurring due to another issue that relied on the full version of handlebars in the production build.
function replaceHandlebarsRuntime(app) {
var index = app.legacyFilesToAppend.indexOf('bower_components/handlebars/handlebars.runtime.js');
if(index) {
app.legacyFilesToAppend[index] = 'bower_components/handlebars/handlebars.js';
}
}
replaceHandlebarsRuntime(app);
I am getting this same issue - where does the above code go to fix it? Is there no real bug here? this seems a little hacky
Well it seems like it might be an ember-idx-modal issue after all. The code above goes into your Brocfile.js, just above module.exports = app.toTree();
Fixed.
ember-cli: 0.1.4 ember-idx-modal: "^0.1.2"
I am getting the following error when deploying to production using ember-cli. It builds fine, i am getting this error during runtime.
Running the dev build using
ember serve
on the 4200 server is without issue.