Skip to content

Fix skeleton validation error should have required property id #111

Closed as not planned
@jcandan

Description

@jcandan

Describe the bug

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

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.

Note: I did need to capture all the branches, and I provide a loop to do that.

git clone git@github.com:coderoad/fcc-learn-npm.git
cd fcc-learn-npm/
for remote in `git branch -r`; do git branch --track ${remote#origin/} $remote; done
coderoad validate
coderoad build

Expected behavior

A successful build.

Desktop (please complete the following information):

  • Platfrom: Windows 11 Version 23H2 (OS Build 22631.2861)
  • OS: Ubuntu via WSL2
  • Version 24.04.1

Node (please complete the following information):

  • Version v20.18.2

Git (please complete the following information):

  • Version 2.43.0

Additional context

N/A

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions