emberjs / ember-classic-decorator

MIT License
12 stars 22 forks source link

Ember 3.14 __EMBER_CLASSIC_DECORATOR is not defined #28

Closed Exelord closed 4 years ago

Exelord commented 4 years ago

Hi After upgrading an addon to Ember 3.14 Im getting an error: __EMBER_CLASSIC_DECORATOR is not defined

Addon v1.0.5

Any clue? :)

Exelord commented 4 years ago

Hmm It looks like the whole vendor folder has been not injected:

 Uncaught Error: You attempted to use the .reopen() method on the App class, but it's not a classic class! Redefining classes after they have been defined is generally considered an antipattern. If you were reopening this class to add static class fields or methods, you can now define those with the 'static' keyword instead. See the upgrade guide for suggestions and alternatives: [TODO_GUIDE_LINK]
Exelord commented 4 years ago

Look like it was breaking cuz of dependency using old version of this addon