Search code examples
ember.jsember-cliember-cli-rails

Ember.js: Cannot read property 'isHelperInstance' of undefined


I'm deploying my app to my staging environment for the first time, but I'm running into an error...One of my routes is unable to render its template. I'm seeing this error in the console:

Uncaught TypeError: Cannot read property 'isHelperInstance' of undefined

I was not seeing this error in development.

I'm using ember-cli-rails to serve the app using Heroku.

How can I solve this issue?


Solution

  • The cause of this error was due to referencing a component in a template that did not exist. The reason that I did not see the error in development is because I did not have the same data in my development environment as in staging. So I never saw the part of my template that would have caused the error.