miguelcobain / ember-paper

The Ember approach to Material Design.
http://miguelcobain.github.io/ember-paper
MIT License
889 stars 331 forks source link

PaperSelect: You attempted to define the 'didInsertElement' method on a Glimmer Component #1156

Closed pax7 closed 4 years ago

pax7 commented 4 years ago

Is anyone else getting this from PaperSelect and ember 3.18

Uncaught (in promise) Error: You attempted to define the 'didInsertElement' method on a Glimmer Component, but that lifecycle hook does not exist in Ember.js applications, it only exists in Glimmer.js apps. You can rename this method, and you can trigger it using a modifier such as {{did-insert}} from '@ember/render-modifiers': https://github.com/emberjs/ember-render-modifiers. at throwMethodUseError (index.js:16) at new GlimmerDebugComponent (index.js:28) at new Options (options.js:43) at new PaperSelectOptions (component.js:17) at EmberGlimmerComponentManager.createComponent (base-component-manager.js:39) at CustomComponentManager.create (index.js:5476) at Object.evaluate (runtime.js:3375) at AppendOpcodes.evaluate (runtime.js:2008) at LowLevelVM.evaluateSyscall (runtime.js:4927) at LowLevelVM.evaluateInner (runtime.js:4883)

pax7 commented 4 years ago

I started a project from scratch and the problem went away.