-
-
Notifications
You must be signed in to change notification settings - Fork 144
Problem with @handlebars/parser @ 2.2.0 #1669
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
Comments
Related: handlebars-lang/handlebars-parser#20 |
Should be fixed with: handlebars-lang/handlebars-parser#21 |
MichalBryxi
added a commit
to MichalBryxi/ember-cli-addon-docs
that referenced
this issue
Apr 17, 2025
…rser issue - Reported in ember-learn#1669
MichalBryxi
added a commit
to MichalBryxi/handlebars-parser
that referenced
this issue
Apr 17, 2025
- As per [this issue in ember-cli-addon-docs](ember-learn/ember-cli-addon-docs#1669) - As per [this Discord discussion](https://discord.com/channels/480462759797063690/484421898210377729/1361741610735370240) 1) _Correct_ solution is quite convoluted 2) Having _some_ documentation to be search-able seems like a good step anyway 3) Requiring `node>=20.19` internally seems like a good step anyway?
MichalBryxi
added a commit
to MichalBryxi/ember-cli-addon-docs
that referenced
this issue
Apr 17, 2025
- Fixes ember-learn#1669 Caused by: ``` require() of ES Module .../.pnpm/@handlebars+parser@file+..+handlebars-parser/node_modules/@handlebars/parser/dist/cjs/index.js not supported. Instead change the require of index.js in null to a dynamic import() which is available in all CommonJS modules. ``` When using older node in consuming app.
MichalBryxi
added a commit
to MichalBryxi/ember-cli-addon-docs
that referenced
this issue
Apr 17, 2025
- Fixes ember-learn#1669 Caused by: ``` require() of ES Module .../.pnpm/@handlebars+parser@file+..+handlebars-parser/node_modules/@handlebars/parser/dist/cjs/index.js not supported. Instead change the require of index.js in null to a dynamic import() which is available in all CommonJS modules. ``` When using older node in consuming app.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Given app created like:
On the last step I will get following error:
This is somehow related to
v2.2.0
of@handlebars/parser
because when I add following topackage.json
:And then re-start the process:
Then this error goes away.
The text was updated successfully, but these errors were encountered: