You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading @glimmer/syntax from version 0.93.1 to 0.94.1, I am getting the following error when building my Ember app:
require() of ES Module /webapp/node_modules/@glimmer/syntax/dist/prod/index.js from /webapp/node_modules/ember-ast-helpers/build-time-component.js not supported.
Instead change the require of index.js in /webapp/node_modules/ember-ast-helpers/build-time-component.js to a dynamic import() which is available in all CommonJS modules.
The root cause appears to be in ember-ast-helpers, which has not been updated in 8 years. This issue impacts packages relying on ember-ast-helpers, such as ember-fontawesome. The problem is already tracked in this issue: FortAwesome/ember-fontawesome#240.
The planned solution for ember-fontawesome is to migrate to Ember Addons v2, which will remove their dependency on ember-ast-helpers. A pull request is already open (FortAwesome/ember-fontawesome#239), but it may take months to get merged.
Is there a potential workaround or fix that could be implemented in @glimmer/syntax to mitigate this issue while dependent packages, such as ember-fontawesome, update to address compatibility?
Thank you for your help!
The text was updated successfully, but these errors were encountered:
gzurbach
changed the title
Compatibility issue of 0.94.1 with legacy packages
Compatibility issue of 0.94.1 with legacy packages
Jan 27, 2025
Howdy!
After upgrading
@glimmer/syntax
from version 0.93.1 to 0.94.1, I am getting the following error when building my Ember app:The root cause appears to be in
ember-ast-helpers
, which has not been updated in 8 years. This issue impacts packages relying onember-ast-helpers
, such asember-fontawesome
. The problem is already tracked in this issue: FortAwesome/ember-fontawesome#240.The planned solution for
ember-fontawesome
is to migrate to Ember Addons v2, which will remove their dependency onember-ast-helpers
. A pull request is already open (FortAwesome/ember-fontawesome#239), but it may take months to get merged.Is there a potential workaround or fix that could be implemented in
@glimmer/syntax
to mitigate this issue while dependent packages, such asember-fontawesome
, update to address compatibility?Thank you for your help!
The text was updated successfully, but these errors were encountered: