Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect ember-source version check #741

Merged
merged 1 commit into from
Jan 27, 2022

Conversation

simonihmig
Copy link
Contributor

@simonihmig simonihmig commented Dec 9, 2021

Found this bug in a monorepo setup with multiple apps, where one app was using an older version (3.26, so needed the modules API polyfill) while the others were on 3.28. With most dependencies being hoisted in the central /node_modules, for any addon that depends on ember-cli-htmlbars it would find the wrong ember-source package, namely /node_modules/ember-source (3.28) instead of apps/foo-app/node_modules/ember-source (the correct 3.26 version).

Fixes #687

Found this bug in a monorepo setup with multiple apps, where one app was using an older version (3.26, so needed the modules API polyfill) while the others were on 3.28. With most dependencies being hoisted in the central `/node_modules`, for any addon that depends on ember-cli-htmlbars it would find the wrong ember-source package, namely `/node_modules/ember-source` instead of `apps/foo-app/node_modules/ember-source` (the correct 3.26 version).

Fixes ember-cli#687
Copy link
Member

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂️

@rwjblue rwjblue merged commit 78a29d8 into ember-cli:master Jan 27, 2022
@rwjblue rwjblue added the bug label Jan 27, 2022
nickschot added a commit to nickschot/ember-mobile-menu that referenced this pull request Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken ember-source version check in nested addons
2 participants