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 fresh install, creating a basic course and clicking on the Preview Course button should show a course preview.
Actual Behaviour
Click Preview Course button and error appears in a dialog box stating that the grunt task failed. Node console showing a warning about unexpected character ? after the grunt handlebar task i.e. in the grunt javascript (compile) task.
Resolving Behaviour (in this scenario)
Not sure if this should go in this repo as it may be adapt_framework but I was primarily installing the Authoring tool. After making the following change I was able to get the preview working fine.
Modified the nullish coalescing operator (??) at line 127 to an OR operator (||) in tenant_id/adapt_framework/grunt/tasks/javascript.js.
Someone else may have come across this so I hope this helps. Great tool!
Versions
Authoring Tool Version: 0.10.5
Framework Version: 5.22.3
Node.js Version: 12.16.3
MongoDB Version: 3.6.3
Operating System: Ubuntu 18.04.4 LTS
Browser: Safari 15.6.1
The text was updated successfully, but these errors were encountered:
Expected Behaviour
After fresh install, creating a basic course and clicking on the Preview Course button should show a course preview.
Actual Behaviour
Click Preview Course button and error appears in a dialog box stating that the grunt task failed. Node console showing a warning about unexpected character ? after the grunt handlebar task i.e. in the grunt javascript (compile) task.
Resolving Behaviour (in this scenario)
Not sure if this should go in this repo as it may be adapt_framework but I was primarily installing the Authoring tool. After making the following change I was able to get the preview working fine.
Modified the nullish coalescing operator (??) at line 127 to an OR operator (||) in tenant_id/adapt_framework/grunt/tasks/javascript.js.
Someone else may have come across this so I hope this helps. Great tool!
Versions
The text was updated successfully, but these errors were encountered: