Skip to content

using-amd-bundles deprecation cannot be silenced nor handled in new classic app in 6.10 #21064

Closed

Description

@kategengler

This is the output of a newly generated 6.10 app on classic https://github.com/kategengler/super-rentals-demo

if you run pnpm i; pnpm start

You'll see both terminal and console deprecations for using-amd-bundles deprecation added in 6.10.

deprecationWorkflow.flushDeprecations() in the console will not include using-amd-bundles deprecation. Adding it manually to app/deprecation-workflow.js does not silence it either.

Adding "use-ember-modules": true to config/optional-features.json causes this error when starting the app:

Unexpected token 'export'

 - stack: /Users/katie/dev/experiments/super-rentals-demo/node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/ember-source/dist/packages/ember-template-compiler/index.js:13503
export { buildCompileOptions as _buildCompileOptions, preprocess as _preprocess, build as _print, precompile };
^^^^^^

SyntaxError: Unexpected token 'export'
    at new Script (node:vm:117:7)
    at getTemplateCompiler (/Users/katie/dev/experiments/super-rentals-demo/node_modules/.pnpm/[email protected]/node_modules/ember-cli-htmlbars/lib/utils.js:147:15)
    at Object.buildOptions (/Users/katie/dev/experiments/super-rentals-demo/node_modules/.pnpm/[email protected]/node_modules/ember-cli-htmlbars/lib/utils.js:102:23)
    at Class.htmlbarsOptions (/Users/katie/dev/experiments/super-rentals-demo/node_modules/.pnpm/[email protected]/node_modules/ember-cli-htmlbars/lib/ember-addon-main.js:279:18)
    at Object.toTree (/Users/katie/dev/experiments/super-rentals-demo/node_modules/.pnpm/[email protected]/node_modules/embe
r-cli-htmlbars/lib/ember-addon-main.js:88:43)
    at /Users/katie/dev/experiments/super-rentals-demo/node_modules/.pnpm/[email protected]/node_modules/ember-cli-preprocess-registry/preprocessors.js:156:26
    at Array.forEach (<anonymous>)
    at processPlugins (/Users/katie/dev/experiments/super-rentals-demo/node_modules/.pnpm/[email protected]/node_modules/ember-cli-preprocess-registry/preprocessors.js:154:11)
    at module.exports.preprocessTemplates (/Users/katie/dev/experiments/super-rentals-demo/node_modules/.pnpm/[email protected]/node_modules/ember-cli-preprocess-registry/preprocessors.js:137:10)
    at DefaultPackager.processTemplates (/Users/katie/dev/experiments/super-rentals-demo/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/ember-cli/lib/broccoli/default-packager.js:438:9)

Activity

  1. kategengler commented on Mar 24, 2026

    @kategengler
    MemberAuthor

    To resolve this in your app:

    • Ensure that you have ember-cli-htmlbars >= 7.0 (including for all dependencies pnpm why ember-cli-htmlbars will help find)
    • tracked-built-ins can be one of the offenders of above. Updating to tracked-built-ins > 4.1.2 should resolve. 4.x should be a non-breaking change for users of Ember 6.x
    • ember-auto-import >= 2.13.0 is required
  2. kategengler commented on Apr 3, 2026

    @kategengler
    MemberAuthor

    This is fixed with the release of 6.10.3 of ember-cli as well as in the latest 6.11, 6.12 of ember-cli. ember-cli/ember-cli#10970

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions