-
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
Spoor schema throws errors #3344
Comments
This is the root cause of the build issue described in adaptlearning/adapt-cli#181 Digging into the history, it looks like this commit added lines using optional chaining. Optional chaning was added to uglify-js in version v3.13.6. The current version of grunt-contrib-uglify has a dependency on uglify-js v3.16.1. I was able to get around this issue by adding a direct dependency on a later version of uglify-js to the package.json of my project.
This installs uglify-js 3.17.4 for me. |
Good spot and thank you. Will be fixed by #3352 |
Fixed |
Trying to build a newly created course with
grunt build
throws the following warning which results in the task aborting prematurely:Running "schema-defaults" task
Warning: src/extensions/adapt-contrib-spoor/properties.schema: Unexpected token c in JSON at position 12082 Use --force to continue.
Replacing default adapt-contrib-spoor extension with v5.2.1 fixes the issue.
Your environment
Steps to reproduce
Create a new course with
adapt create course
Switch to newly created course directory and run
grunt build
Expected behaviour
Course should build successfully
Actual behaviour
Grunt build task aborts due to warnings
The text was updated successfully, but these errors were encountered: