You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new Ember app will not build with older versions of ember-basic-dropdown and ember-power-select which are both dependencies of @ember-eui/core.
Specs
"@ember-eui/core": "^6.5.4",
ember-cli: 5.1.0
node: 18.16.0
os: darwin arm64
Solution
I just started learning Ember this week and am working through some tutorials and messing around. I wanted to put in an out-of-the-box style solution and had issues with both ember-paper and ember-eui. The app throws an error when building for local development.
Cannot read properties of undefined (reading 'ember-cli-sass')
at Class.included (<project directory>/node_modules/@ember-eui/core/node_modules/ember-power-select/index.js:26:50)
at Class.superWrapper [as included] (<project directory>/node_modules/core-object/lib/assign-properties.js:34:20)
at <project directory>/node_modules/ember-cli/lib/models/addon.js:475:26
at Array.reduce (<anonymous>)
at Class.eachAddonInvoke (<project directory>/node_modules/ember-cli/lib/models/addon.js:472:24)
When looking into the stack, it appears that older versions of both ember-basic-dropdown and ember-power-select, which are dependencies of ember-paper and ember-eui, check for plugins using the code below.
I'm too new to the Ember ecosystem and don't know the initialization process, but I'm assuming that availablePlugins has been deprecated because updating those package versions to "ember-power-select": "^7.1.0" and "ember-basic-dropdown": "^7.2.1" changed the previous code block to this:
Problem
A new Ember app will not build with older versions of
ember-basic-dropdown
andember-power-select
which are both dependencies of@ember-eui/core
.Specs
Solution
I just started learning Ember this week and am working through some tutorials and messing around. I wanted to put in an out-of-the-box style solution and had issues with both
ember-paper
andember-eui
. The app throws an error when building for local development.When looking into the stack, it appears that older versions of both
ember-basic-dropdown
andember-power-select
, which are dependencies ofember-paper
andember-eui
, check for plugins using the code below.I'm too new to the Ember ecosystem and don't know the initialization process, but I'm assuming that
availablePlugins
has been deprecated because updating those package versions to"ember-power-select": "^7.1.0"
and"ember-basic-dropdown": "^7.2.1"
changed the previous code block to this:After manually updating the dependencies in
ember-eui
, I was able to build and run the application without any issues.The text was updated successfully, but these errors were encountered: