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
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.
Describe the bug
Running
coderoad build
gives a skeleton validation error:should have required property 'id'
, even after acoderoad validate
success.To Reproduce
I was getting this having completed the tutorial up to Build the config.json file.
I was able to reproduce this with one of the available example projects.
Expected behavior
A successful build.
Desktop (please complete the following information):
Node (please complete the following information):
Git (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: