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
{{ message }}
Repository navigation
Fix skeleton validation error should have required property id #111
Running coderoad build gives a skeleton validation error: should have required property 'id', even after a coderoad validate success.
$ coderoad validate
...
--- Running setup test...
--- Loading solution commits...
--- Running solution test...
✔ Success!
$ coderoad build
Building CodeRoad tutorial.json...
Validation error at - should have required property 'id'
Skeleton validation failed. See above to see what to fix
Reading through the skeleton schema, I found the following:
id: {
type: "string",
description: "A unique identifier for your tutorial. Currently no system to create this, so create your own for now",
examples: ["fcc-learn-npm"]
},
When I added id: 'fcc-learn-npm, it allowed the coderoad build to succeed.
I'll create an issue to address this in the examples and tutorial.
Activity
jcandan commentedon Jan 26, 2025
Additionally confirmed this issue with Node v18.20.6.
jcandan commentedon Jan 27, 2025
I found the solution.
Reading through the skeleton schema, I found the following:
When I added
id: 'fcc-learn-npm, it allowed thecoderoad buildto succeed.I'll create an issue to address this in the examples and tutorial.