Closed mauriciabad closed 1 month ago
@mauriciabad, thank you for the report. I've updated the documentation.
@mauriciabad, released v1.13.0-beta.2. If you get a chance, let me know if it helped.
Cool, now it works and doesn't crash.
But the punycode
error is still being displayed.
Unfortunately, this warning occurs when importing openapi-typescript ==> @redocly/openapi-core ==> node-fetch ==> whatwg-url@5.0.0
. node-fetch
is not updated for a year, but there is a rejected PR.
But fetch is available since Node.js@18 https://nodejs.org/docs/v20.16.0/api/globals.html#fetch
There's no need to have the node-fetch
dependency.
I'll open a issue/PR in @redocly/openapi-core to see if they can stop using node-fetch
.
@mauriciabad, thanks for the collaboration. Looking forward to updating either node-fetch
or redocly/openapi-core
.
Hi, I can't use the library because the quick start described in the docs doesn't work.
It gives this error:
And if I change the command to
@openapi-qraft/cli
:I get this other error:
Even doing it from the package.json doesn't work:
It also gives the
ERR_IMPORT_ATTRIBUTE_MISSING
error.