ember-basic-dropdown
ember-basic-dropdown copied to clipboard
fails to build in ember 3.27.0
Template Compiler Error (broccoli-persistent-filter:TemplateCompiler) in ember-basic-dropdown/templates/components/basic-dropdown/content.hbs
Assertion Failed: [BUG] seen set should be available
Builds ok in 3.20.0 (used ember-cli-update to do the upgrade)
Seeing the same error, except is fails in 3.20.0 as well.
@BryanCrotaz if you are seeing this while installing ember-paper, this happens because ember paper uses an old version of the addon https://github.com/miguelcobain/ember-paper/blob/master/package.json#L68 (2.0.15)
The latest version of this addon is 3.0.19
@juanazam Do you know if there is a way to manually set the ember-paper dependency to that specific version?
@icheered you can pin the version using resolutions if you use yarn, but the version ember paper uses is too old to do that
also getting failure after updating to 3.27.0, any suggestions?
TypeError: Cannot read properties of undefined (reading 'args')
at initializer (https://0.0.0.0:7357/assets/vendor.js:99689:19)
at getter (webpack://__ember_auto_import__/./node_modules/@glimmer/validator/dist/modules/es2017/lib/tracking.js?:88:15)
at BasicDropdown.get [as isOpen] (webpack://__ember_auto_import__/./node_modules/@glimmer/tracking/dist/modules/es2017/src/tracked.js?:107:14)
at BasicDropdown.get publicAPI [as publicAPI] (https://0.0.0.0:7357/assets/vendor.js:99405:22)
at getPossibleMandatoryProxyValue (https://0.0.0.0:7357/assets/vendor.js:13809:19)
at _getProp (https://0.0.0.0:7357/assets/vendor.js:13874:17)
at https://0.0.0.0:7357/assets/vendor.js:49294:45
at https://0.0.0.0:7357/assets/vendor.js:49242:37
at track (https://0.0.0.0:7357/assets/vendor.js:58931:7)
at valueForRef (https://0.0.0.0:7357/assets/vendor.js:49241:44)
I'm still on 1.X of ember-auto-import in case that matters, not using embroider yet (I don't have the imports/haven't even looked at how to configure)
@burritoIand seems you are using an old version of the addon, the newer ones work with 3.27
@juanazam
I didn't investigate further but I'll try again tonight or tomorrow.. all I know is my test suite had multiple failures with same message above after bumping to ember 3.27
Check with ember-dependency-lint that you don't have multiple versions loaded
@BryanCrotaz ok will check, loaded the app and saw this:

running ember dependency lint

is that mismatch related possibly?
edit
fwiw I tried updating to glimmer component 1.0.4 and that didn't fix it
@burritoIand I also ran into the Cannot read property 'args' of undefined error when I updated to ember 3.27. I found that I had conflicting resolutions for @glimmer/tracking in my lockfile, causing both 1.0.1 and 1.0.4 to be available. I massaged the lockfile to get all references to resolve to 1.0.4, and the error went away.
@timmorey ok thank you I will try that!
Seen this upgrading ember-source from 3.24.8 to 3.28.5 using 4.0.3 of this addon.
Closing this issue, as this bug was reported with v3 / v4 and maybe also already fixed with dependencies
If it is still present with v8 (and ember v3.28+) let me know