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

Avoid errors when using older Ember versions. #1102

Merged
merged 1 commit into from
Dec 14, 2019

Conversation

chancancode
Copy link
Member

With ember-cli-htmlbars 4.2, there is a check to disable co-location support on old ember versions (which, even when compiled, would fail at runtime due to missing setComponentTemplate). This is causing build failures when running ember-try with old Ember versions. Since we don't actually run the app or its tests in ember-try, we can work around the problem by skipping template compilation for now.

Paired with @rwjblue

With ember-cli-htmlbars 4.2, there is a check to disable co-location
support on old ember versions (which, even when compiled, would fail
at runtime due to missing `setComponentTemplate`). This is causing
build failures when running ember-try with old Ember versions. Since
we don't actually run the app or its tests in ember-try, we can work
around the problem by skipping template compilation for now.

Co-authored-by: Godfrey Chan <[email protected]>
@chancancode chancancode mentioned this pull request Dec 14, 2019
@RobbieTheWagner RobbieTheWagner merged commit 8861e83 into master Dec 14, 2019
@delete-merged-branch delete-merged-branch bot deleted the prevent-colocation-for-older-ember branch December 14, 2019 18:55
nummi pushed a commit to nummi/ember-inspector that referenced this pull request Apr 1, 2020
With ember-cli-htmlbars 4.2, there is a check to disable co-location
support on old ember versions (which, even when compiled, would fail
at runtime due to missing `setComponentTemplate`). This is causing
build failures when running ember-try with old Ember versions. Since
we don't actually run the app or its tests in ember-try, we can work
around the problem by skipping template compilation for now.

Co-authored-by: Godfrey Chan <[email protected]>
nummi pushed a commit to nummi/ember-inspector that referenced this pull request Apr 5, 2020
With ember-cli-htmlbars 4.2, there is a check to disable co-location
support on old ember versions (which, even when compiled, would fail
at runtime due to missing `setComponentTemplate`). This is causing
build failures when running ember-try with old Ember versions. Since
we don't actually run the app or its tests in ember-try, we can work
around the problem by skipping template compilation for now.

Co-authored-by: Godfrey Chan <[email protected]>
patricklx pushed a commit to patricklx/ember-inspector that referenced this pull request Sep 19, 2022
With ember-cli-htmlbars 4.2, there is a check to disable co-location
support on old ember versions (which, even when compiled, would fail
at runtime due to missing `setComponentTemplate`). This is causing
build failures when running ember-try with old Ember versions. Since
we don't actually run the app or its tests in ember-try, we can work
around the problem by skipping template compilation for now.

Co-authored-by: Godfrey Chan <[email protected]>
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.

3 participants