embroider: @embroider/macros' dependencySatisfies does not understand canary versions

related to: https://github.com/embroider-build/embroider/issues/1057

version is: DEBUG: Ember : 4.2.0-alpha.1.canary+ef2ad15f

my hunch is that the existing comparison code isn’t expecting this many specifiers after alpha.1

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 28 (6 by maintainers)

Most upvoted comments

I’m on 4.1.0. No idea if that matters. I’m doing only basic stuff what a kid can do, so no complexity of an experienced developer (I’m more a Python guy). I also don’t have resolutions in my packages.json and I have only the render-modifier inside the dependencies. Is it possible that is has something to do with caching?

But now you are on your own again 🥲

idk what craziness my app’s addons are causing, but I’ve had to add these resolutions in my root package.json:

    "@embroider/macros": "0.50.0",
    "@embroider/core": "0.50.0",
    "@embroider/util": "0.50.0"

my surface issue remains though – so now I need to figure out why version is undefined – @ember/render-modifiers lack of peerDependencies seems to not matter (now that I’m using the correct version of @embroider/util, all ember-source resolves are found, but have undefined version)