Repository navigation
Closed
Description
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)
Reacted by Boris Petrov
Metadata
Metadata
Assignees
Labels
No labels
Activity
kategengler commentedon Mar 24, 2026
To resolve this in your app:
ember-cli-htmlbars >= 7.0(including for all dependenciespnpm why ember-cli-htmlbarswill help find)tracked-built-inscan be one of the offenders of above. Updating totracked-built-ins > 4.1.2should resolve.4.xshould be a non-breaking change for users of Ember 6.xember-auto-import >= 2.13.0is requiredkategengler commentedon Apr 3, 2026
This is fixed with the release of 6.10.3 of
ember-clias well as in the latest 6.11, 6.12 of ember-cli. ember-cli/ember-cli#10970