Closed andrewhavens closed 8 years ago
Ah, looks like this issue has already been filed before. Turns out the error has to do with a conflict between the default routes/application.js
provided by ember-simple-auth
and our app's routes/application.coffee
. The solution is to convert our routes/application.coffee
back to JavaScript.
Duplicate: https://github.com/kimroen/ember-cli-coffeescript/issues/92 Originally filed with ember-simple-auth: https://github.com/simplabs/ember-simple-auth/issues/659
According to @marcoow of ember-simple-auth
:
Seems like ember-cli-coffeescript doesn't really work with Ember CLI's way of having addons merge stuff into the application.
...so maybe this is still an issue that needs to be resolved?
@andrewhavens alternatively, if you want to keep your coffee, you can delete ESA's routes/application.js
: https://github.com/simplabs/ember-simple-auth/issues/851#issuecomment-205623700
As you've noted, this has been reported before, and I've tried to outline the possible solutions over in this issue: #87
Closing this, but please do come with input in that issue if you have thoughts or could help out with moving in the direction of one of the proposed solutions.
my solution app\routes\app-route-mixin.coffee
export default Mixin.create()
app\routes\application.js
import AppRouteMixin from './app-route-mixin';
export default Route.extend(AppRouteMixin)
I'm trying to install
ember-simple-auth
and am running into this error:I am new to Ember CLI. What do I need to do to fix this issue?