Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: setting getter-only property "eventsEnabled" #117

Closed
lougreenwood opened this issue Mar 19, 2018 · 2 comments
Closed

TypeError: setting getter-only property "eventsEnabled" #117

lougreenwood opened this issue Mar 19, 2018 · 2 comments

Comments

@lougreenwood
Copy link

@lougreenwood lougreenwood commented Mar 19, 2018

ember -v
ember-cli: 3.1.0-beta.1
node: 9.8.0
os: darwin x64

Hi, I've just installed the addon to try it out, I'm using the example popover code:

<button class="other-button">
  No click me!

  {{#attach-popover class="ember-attacher-popper"
                    hideOn='click'
                    isShown=true
                    showOn='click'}}
    I'm a popover!
  {{/attach-popover}}
</button>

And I receive this error in console:

jQuery.Deferred exception: setting getter-only property "eventsEnabled" defineProperty@http://localhost:4200/assets/vendor.js:35400:9
Class@http://localhost:4200/assets/vendor.js:50021:18
EmberPopperBase@http://localhost:4200/assets/vendor.js:79198:28
EmberPopper@http://localhost:4200/assets/vendor.js:829:19
_ClassMixinProps.create@http://localhost:4200/assets/vendor.js:50191:14
superWrapper@http://localhost:4200/assets/vendor.js:54782:17
create@http://localhost:4200/assets/vendor.js:72792:24
superWrapper@http://localhost:4200/assets/vendor.js:54782:17
create@http://localhost:4200/assets/vendor.js:72988:38
superWrapper@http://localhost:4200/assets/vendor.js:54782:17
create@http://localhost:4200/assets/vendor.js:21437:22
create@http://localhost:4200/assets/vendor.js:29939:29
@http://localhost:4200/assets/vendor.js:16020:21
evaluate@http://localhost:4200/assets/vendor.js:14419:17
evaluateSyscall@http://localhost:4200/assets/vendor.js:17624:13
evaluateInner@http://localhost:4200/assets/vendor.js:17600:17
evaluateOuter@http://localhost:4200/assets/vendor.js:17592:17
next@http://localhost:4200/assets/vendor.js:19175:17
next@http://localhost:4200/assets/vendor.js:19256:20
RootState/this.render@http://localhost:4200/assets/vendor.js:30315:38
runInTransaction@http://localhost:4200/assets/vendor.js:34658:11
_renderRoots@http://localhost:4200/assets/vendor.js:30581:63
_renderRootsTransaction@http://localhost:4200/assets/vendor.js:30613:17
_renderRoot@http://localhost:4200/assets/vendor.js:30546:13
_appendDefinition@http://localhost:4200/assets/vendor.js:30471:13
appendOutletView@http://localhost:4200/assets/vendor.js:30459:13
invoke@http://localhost:4200/assets/vendor.js:20325:17
flush@http://localhost:4200/assets/vendor.js:20243:25
flush@http://localhost:4200/assets/vendor.js:20396:25
end@http://localhost:4200/assets/vendor.js:20528:26
_run@http://localhost:4200/assets/vendor.js:20878:21
_join@http://localhost:4200/assets/vendor.js:20854:24
join@http://localhost:4200/assets/vendor.js:20595:20
run.join@http://localhost:4200/assets/vendor.js:33883:12
run.bind/<@http://localhost:4200/assets/vendor.js:33958:14
mightThrow@http://localhost:4200/assets/vendor.js:3873:21
resolve/</process<@http://localhost:4200/assets/vendor.js:3941:12
@kybishop

This comment has been minimized.

Copy link
Owner

@kybishop kybishop commented Mar 19, 2018

This will be fixed once ember-decorators/argument#62 lands. We'll bump the dep in ember-popper and do a release there, then pull it in here.

@kybishop

This comment has been minimized.

Copy link
Owner

@kybishop kybishop commented Mar 20, 2018

Fixed in #102

@kybishop kybishop closed this Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.