algonauti/ember-g-recaptcha

Cannot read property 'defineProperty' of undefined

Closed this issue · 1 comments

Hey,
I've just tried updating the addon from 0.4.0 to 0.9.0 and upon loading a page with recaptcha I'm getting Cannot read property 'defineProperty' of undefined error in the console.

After a bit of searching, I found a similar issue raised in ember-cli-qunit: ember-cli/ember-cli-qunit#202. I believe the issue is due to this file: configuration.js, and it appears to work if I rename the Object import to EmberObject. Not sure if doing this will have any other knock-on effects though.

My app is currently running Ember version 2.15

You need to upgrade your Ember version to 3 or above - See #12