-
Notifications
You must be signed in to change notification settings - Fork 249
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
Handlebars v4.3.0/1 prevents Adapt from running #2524
Comments
The How are these two copies out of sync? Is the package.json dependency too loose or does the runtime need updating? |
No, it's more that the author of handlebars should, strictly speaking, have done a major version release. But, for reasons I can understand (and which he explains in the ticket I linked to), he didn't. |
If we think updating to the latest hbs runtime is a good/safe move then let's just go with that - but we'll need to do a release of every single major version of Adapt to get it out there |
I've checked both FW v2.4.1 and v3.5.4 - neither is affected by this issue - so we don't need to patch and release these older versions. |
just to confirm, this bug is only present on courses where the package.json was updated to use the ^ symbol? i.e. v4.0.0+ ? |
A recent (24th Sept) update to the 'compiler' (node) version of handlebars is breaking Adapt.
If you do
$ adapt create course
, build it and run it, Adapt does not render and the following error is shown in the console:There is a ticket about this issue on the handlebars repo here: handlebars-lang/handlebars.js#1561
In the meantime, Framework users should be able to work around this by updating src/core/libraries/handlebars.min.js to the latest version (note: I haven't tested that doing so won't break anything else!)
The text was updated successfully, but these errors were encountered: