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
{{ message }}
Repository navigation
For v6, don't use local ember-cli in place of the invoked ember-cli #10556
This has always been the behavior, but I've always found it really annoying.
specifically when I want to make new projects in an existing repo, I use npx ember-cli@latest, but if an older ember-cli is found anywhere that older one is used instead (even if the package.json doesn't specify it).
We should remove this behavior, or disable it by default.
I don't have a global version of ember-cli installed for a while now.
I use alias ember="pnpm ember" as a shortcut to use the project's version (and it nicely errors when not using inside a project). Though, I understand this isn't something we can ask of every developer.
Personally, I'm also in favor of this change, or make it more clear which bin is used.
Activity
SergeAstapov commentedon Dec 30, 2024
tbh I would say it's convenient as I don't need to jump between ember-cli versions when working on different projects, so IMO this might be subjective
bertdeblock commentedon Jan 2, 2025
I don't have a global version of ember-cli installed for a while now.
I use
alias ember="pnpm ember"as a shortcut to use the project's version (and it nicely errors when not using inside a project). Though, I understand this isn't something we can ask of every developer.Personally, I'm also in favor of this change, or make it more clear which bin is used.
LucasHillDex commentedon Mar 12, 2025
What will the behavior be if the global
emberyou are invoking mismatches the version of the project you are in?NullVoxPopuli commentedon Mar 12, 2025
I think I'd want to print a warning, but continue using the invoked ember-cli, ignoring the local ember-cli.