Skip to content

Fix the Ember 7 try scenarios - #426

Merged
evoactivity merged 1 commit into
ember-cli:mainfrom
NullVoxPopuli-ai-agent:nvp/ember-7-ci
Sep 30, 2026
Merged

evoactivity merged 1 commit into
ember-cli:mainfrom
NullVoxPopuli-ai-agent:nvp/ember-7-ci

Conversation

@NullVoxPopuli-ai-agent

Copy link
Copy Markdown

This bumps babel-plugin-ember-template-compilation to ^4.0.0, which fixes the ember-latest, ember-beta and ember-alpha scenarios.

Cause

With ember-source 7, the test build stops with this error:

Cannot find module '.../node_modules/ember-source/dist/prod/packages/dist/ember-template-compiler.js'

Version 2 of the plugin loads the template compiler from ember-source/dist/ember-template-compiler.js. ember-source 7 does not export that path. Version 4 loads ember-source/ember-template-compiler/index.js first, and falls back to the old path for older Ember versions.

Checks

  • The published dist is byte-identical with version 2 and version 4. The publish config uses targetFormat: 'hbs', so it does not load the compiler.
  • Locally, pnpm test passes on the default lockfile.
  • Locally, all 11 try scenarios pass, from 3.28 to 7.5.0-alpha.2.

🤖 Generated with Claude Code

The ember-latest, ember-beta and ember-alpha scenarios failed at
build time:

    Cannot find module '.../ember-source/dist/prod/packages/dist/ember-template-compiler.js'

babel-plugin-ember-template-compilation 2 loads the template compiler
from `ember-source/dist/ember-template-compiler.js`. ember-source 7
does not export that path. Version 4 loads
`ember-source/ember-template-compiler/index.js` first and falls back
to the old path, so the older Ember scenarios keep working.

The published `dist` is byte-identical with version 2 and version 4.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@evoactivity
evoactivity merged commit 90dcd6c into ember-cli:main Sep 30, 2026
16 checks passed
@github-actions github-actions Bot mentioned this pull request Sep 30, 2026
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