Closed hongkongkiwi closed 6 days ago
For others using Deno, here's a workaround in your deno.json:
"imports": {
"valibot": "npm:valibot@^1.0.0-beta.3",
"@valibot/to-json-schema": "https://raw.githubusercontent.com/fabian-hiller/valibot/refs/heads/main/packages/to-json-schema/src/index.ts"
}
Does it work when installing the @beta version of Valibot?
This is fixed in v1.0.0-beta.3 of @valibot/to-json-schema
I can't seem to install @valibot/to-json-schema , it seems like there's a version mismatch between valibot and @valibot/to-json-schema on NPM.
After installing valibot I get version 1.0.0-beta.3 which looks fine.
Then when installing to-json-schema (using Deno), I get this error: