miguelcobain / ember-paper

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

error when building app with ember-paper #1180

Closed Talwynox closed 2 years ago

Talwynox commented 3 years ago

Hi, I run into this issue as soon as I add ember-paper to any project:

Template Compiler Error (broccoli-persistent-filter:TemplateCompiler) in ember-basic-dropdown/templates/components/basic-dropdown-content.hbs

Cannot read property 'type' of undefined

I am using Ember 3.25.0 and ember-paper 1.0.0-beta.35.

omar-zakaria commented 3 years ago

I have the exact same issue, using Ember 3.25.2 and ember-paper 1.0.0-beta.35.

The project is new, and removing ember-paper fixes the issue.

z7ealth commented 3 years ago

x3

ratelutz commented 3 years ago

same issue here using ember-cli 3.25.2 and ember-paper 1.0.0-beta.25. Project is clean without any coding. simply installed the packages

ratelutz commented 3 years ago

did some more investigation. all above ember-cli@3.8.1 failes for me.

oakho commented 3 years ago

fwiw, there is an open issue in the ember-basic-dropdown repository (see https://github.com/cibernox/ember-basic-dropdown/issues/586)

ember-paper is also the culprit in my case and adding resolutions to my package.json didn't work, currently don't have much time to investigate this issue but, as a workaround, downgrading ember-cli to 3.24 solve this issue temporarily.

anyway, ember-paper uses an old versions (2.x) of ember-basic-dropdown and ember-maybe-in-element so it doesn't help

ratelutz commented 3 years ago

fwiw, there is an open issue in the ember-basic-dropdown repository (see cibernox/ember-basic-dropdown#586)

ember-paper is also the culprit in my case and adding resolutions to my package.json didn't work, currently don't have much time to investigate this issue but, as a workaround, downgrading ember-cli to 3.24 solve this issue temporarily.

anyway, ember-paper uses an old versions (2.x) of ember-basic-dropdown and ember-maybe-in-element so it doesn't help

ember-cli@3.24. does not work for me. it failes with another compile error Template Compiler Error (broccoli-persistent-filter:TemplateCompiler) in ember-paper/components/paper-autocomplete/options/template.hbs

icheered commented 2 years ago

Still an issue. Has anyone found a workaround?

mohitsud commented 2 years ago

I chased this down quite a bit. Sadly the best solution for me was to simply migrate away from ember-paper. A true shame since it was such a great addon.