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
> ajv migrate -s "my-schema.json" --spec=draft2020 --indent=4
npm\node_modules\ajv-cli\node_modules\ajv\dist\core.js:133
throw new Error(`no schema with key or ref "${schemaKeyRef}"`);
^
Error: no schema with key or ref "https://json-schema.org/draft/2019-09/schema"
at Ajv2020.validate (node_modules\ajv-cli\node_modules\ajv\dist\core.js:133:23)
at Ajv2020.validateSchema (node_modules\ajv-cli\node_modules\ajv\dist\core.js:244:28)
at migrateSchema (node_modules\ajv-cli\dist\commands\migrate.js:37:31)
at Array.map (<anonymous>)
at Object.execute (node_modules\ajv-cli\dist\commands\migrate.js:29:24)
at Object.<anonymous> (node_modules\ajv-cli\dist\index.js:19:24)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
The text was updated successfully, but these errors were encountered:
Using version 5.0.0, there is an error migration from draft2019 to draft2020.
my-schema.json
command
The text was updated successfully, but these errors were encountered: