question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

@embroider/macros' dependencySatisfies does not understand canary versions

See original GitHub issue

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

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Jopie01commented, Jan 13, 2022

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 🥲

1reaction
NullVoxPopulicommented, Jan 10, 2022

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)

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Embroider] dependencySatisfies gives wrong answer for ...
Hey, I have a similar problem to Help needed - struggling to find/resolve a deprecation : I'm trying to get rid of the...
Read more >
@embroider/macros | Yarn - Package Manager
@embroider/macros. A standardized solution for modifying your package's Javascript and Glimmer templates at app-compilation-time.
Read more >
@embroider/macros - npm
Start using @embroider/macros in your project by running `npm i @embroider/macros`. ... or false if the dependency was not satisfied.
Read more >
ember-auto-import - UNPKG
12, - ENHANCEMENT support v2 addons that contain @embroider/macros ... relax semver check to tolerate shared versions that satisfy all consumers.
Read more >
embroider-build - Bountysource
Traditionally, ember addons each bring their own entirely separate babel that only processes their own code. Likewise, the app has its own independent...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found