code-corps / ember-stripe-elements

A simple Ember wrapper for Stripe Elements.
MIT License
64 stars 41 forks source link

Could not find module `@ember/error` imported from `frontend/initializers/ember-stripe-elements` #31

Open adambedford opened 6 years ago

adambedford commented 6 years ago

Running into this issue. I'm on Ember 2.14, haven't updated to modules yet. Any workaround?

jackhair commented 6 years ago

@adambedford Use an older version of ember-stripe-elements or update Ember to 2.16 or greater.

Ember moved to a new import API from 2.16 onwards, more info here: https://www.emberjs.com/blog/2017/10/11/ember-2-16-released.html

adambedford commented 6 years ago

Hi Jack,

Thanks for the note. My understanding was that addons could use a different version of ember-cli, but I think the issue arises here because ember-stripe-elements has stuff in the app directory. I've bumped ember-cli-babel to 6.10 and things are working for now.

adambedford commented 6 years ago

Hi Jack,

Turns out I didn't resolve this just yet. I've reverted to version 0.2.0 but I'm still seeing the issue. Do you have any guidance on what version works with Ember 2.14?