Bug
The ata compile CLI command exits with code 137 (OOM kill) without producing any output file or error message — even with a tiny schema.
Reproduce
echo '{"type":"object","properties":{"x":{"type":"string"}}}' > /tmp/min.json
npx ata compile /tmp/min.json -o /tmp/min.mjs
echo "exit:$?"
ls -la /tmp/min.mjs
Result:
exit:137
ls: /tmp/min.mjs: No such file or directory
Environment
- ata-validator: 0.12.6 (just installed via
bun add ata-validator)
- Node: v24.11.0
- macOS Darwin 25.4.0 (Apple Silicon)
- Plenty of RAM available
Expected
CLI should produce the standalone validator module file at the -o path, or print a clear error.
Notes
npx ata --help works fine
npx ata --version errors with unknown command "--version" (separate small issue)
- Calling
Validator(schema).toStandaloneModule() directly from a Node script also exits with 137 silently, so the bug seems to be in the standalone module generator on Node v24
Workaround
Using runtime new Validator(schema) works fine for now — only pre-compile via CLI fails.
Bug
The
ata compileCLI command exits with code 137 (OOM kill) without producing any output file or error message — even with a tiny schema.Reproduce
Result:
Environment
bun add ata-validator)Expected
CLI should produce the standalone validator module file at the
-opath, or print a clear error.Notes
npx ata --helpworks finenpx ata --versionerrors withunknown command "--version"(separate small issue)Validator(schema).toStandaloneModule()directly from a Node script also exits with 137 silently, so the bug seems to be in the standalone module generator on Node v24Workaround
Using runtime
new Validator(schema)works fine for now — only pre-compile via CLI fails.