ember-modal-dialog icon indicating copy to clipboard operation
ember-modal-dialog copied to clipboard

Ember v3.27: Exception on Ember.computed.reads (liquid-wormhole)

Open ptgamr opened this issue 4 years ago • 4 comments
trafficstars

After upgrade to Ember 3.27, I got error like this and the modal is not showing, it's related to the liquid-* packages:

Uncaught TypeError: Ember.computed.reads is not a function
    at Module.callback (liquid-wormhole.js:10)

I am not sure how to fix this, I think the deprecation of Global Ember https://github.com/emberjs/rfcs/blob/master/text/0706-deprecate-ember-global.md might be the cause. But it supprise me that this breaking changes should not be until 4.0

ptgamr avatar Jul 06 '21 04:07 ptgamr

@ptgamr did you ever find a solution to this? I'm running into the same thing upgrading from Ember 3.24 to 3.28.

tythewebguy avatar Dec 03 '21 14:12 tythewebguy

In my app, I just removed this package entirely... see https://github.com/TinyALE/tiny-ale/blob/develop/ui/app/components/modal-dialog.js and related files for one possible lightweight solution.

artzte avatar Dec 03 '21 14:12 artzte

Turns out the problem I ran into was actually an older version of ember-moment that used ember-macro-helpers, which is the add-on that was really breaking Ember 3.27. It was all being rendered within ember-modal-dialog, so the error messages were misleading.

ember-macro-helpers is no longer supported and the author says it's now deprecated. Took a while to uncover that mess.

tythewebguy avatar Dec 16 '21 14:12 tythewebguy

this worked for me -- thanks @tythewebguy !

JackHowa avatar Dec 01 '22 17:12 JackHowa