Link
https://coderoad.github.io/docs/create-a-practice-tutorial
Problem
Following the guide on Windows fails:
coderoad build errors: “should have required property 'id'” (docs YAML example has no root id).
- Test runner command
./node_modules/.bin/mocha fails on Windows; should use node_modules/.bin/mocha.cmd (or other Windows-safe command).
Fix (docs)
command: ./node_modules/.bin/mocha
to:
command: node_modules/.bin/mocha.cmd
Env
Windows + PowerShell, Node 20, @coderoad/cli v0.9.3
Link
https://coderoad.github.io/docs/create-a-practice-tutorialProblem
Following the guide on Windows fails:
coderoad builderrors: “should have required property 'id'” (docs YAML example has no rootid)../node_modules/.bin/mochafails on Windows; should usenode_modules/.bin/mocha.cmd(or other Windows-safe command).Fix (docs)
coderoad.yaml:to:
Env
Windows + PowerShell, Node 20,
@coderoad/cliv0.9.3