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
I tried this document https://redocly.com/docs/redoc/deployment/cli/
and tried this example script
npx redoc-cli build http://petstore.swagger.io/v2/swagger.json -t custom.hbs --templateOptions.metaDescription "Page meta description"
Describe the error
[ReDoc Compatibility mode]: Converting OpenAPI 2.0 to OpenAPI 3.0
Prerendering docs
TypeError [ERR_INVALID_URL]: Invalid URL
at new NodeError (node:internal/errors:371:5)
at onParseError (node:internal/url:552:9)
at new URL (node:internal/url:628:5)
at new URL (node:internal/url:625:22)
at new vo (/Users/ms/.npm/_npx/088c5868f11c5564/node_modules/redoc-cli/node_modules/redoc/bundles/redoc.lib.js:41:74350)
at new Ro (/Users/ms/.npm/_npx/088c5868f11c5564/node_modules/redoc-cli/node_modules/redoc/bundles/redoc.lib.js:41:78172)
at new Tl (/Users/ms/.npm/_npx/088c5868f11c5564/node_modules/redoc-cli/node_modules/redoc/bundles/redoc.lib.js:1176:2881)
at Module. (/Users/ms/.npm/_npx/088c5868f11c5564/node_modules/redoc-cli/node_modules/redoc/bundles/redoc.lib.js:1176:2659)
at Generator.next ()
at i (/Users/ms/.npm/_npx/088c5868f11c5564/node_modules/redoc-cli/node_modules/redoc/bundles/redoc.lib.js:1176:2413)
Env
node : v16.13.2
npx : 8.1.2
The text was updated successfully, but these errors were encountered:
I tried this document
https://redocly.com/docs/redoc/deployment/cli/
and tried this example script
npx redoc-cli build http://petstore.swagger.io/v2/swagger.json -t custom.hbs --templateOptions.metaDescription "Page meta description"
Describe the error
[ReDoc Compatibility mode]: Converting OpenAPI 2.0 to OpenAPI 3.0
Prerendering docs
TypeError [ERR_INVALID_URL]: Invalid URL
at new NodeError (node:internal/errors:371:5)
at onParseError (node:internal/url:552:9)
at new URL (node:internal/url:628:5)
at new URL (node:internal/url:625:22)
at new vo (/Users/ms/.npm/_npx/088c5868f11c5564/node_modules/redoc-cli/node_modules/redoc/bundles/redoc.lib.js:41:74350)
at new Ro (/Users/ms/.npm/_npx/088c5868f11c5564/node_modules/redoc-cli/node_modules/redoc/bundles/redoc.lib.js:41:78172)
at new Tl (/Users/ms/.npm/_npx/088c5868f11c5564/node_modules/redoc-cli/node_modules/redoc/bundles/redoc.lib.js:1176:2881)
at Module. (/Users/ms/.npm/_npx/088c5868f11c5564/node_modules/redoc-cli/node_modules/redoc/bundles/redoc.lib.js:1176:2659)
at Generator.next ()
at i (/Users/ms/.npm/_npx/088c5868f11c5564/node_modules/redoc-cli/node_modules/redoc/bundles/redoc.lib.js:1176:2413)
Env
node : v16.13.2
npx : 8.1.2
The text was updated successfully, but these errors were encountered: