CF workers w/ hono-openapi deploy randomly failing with error code 10002

My setup is Hono + CF Vite Plugin https://github.com/rhinobase/hono-openapi/issues/111 Seems to be related to this dependency: https://www.npmjs.com/package/@apidevtools/json-schema-ref-parser Removing it from the code by patching it out fixes the deploy.
GitHub
Deploy on CF workers erroring with code 10002 · Issue #111 · rhin...
I personally have no idea how much this is related to my own environment, and this is more or less a PSA for people coming over the same issue. The @apidevtools/json-schema-ref-parser subdependency...
npm
@apidevtools/json-schema-ref-parser
Parse, Resolve, and Dereference JSON Schema $ref pointers. Latest version: 12.0.1, last published: 25 days ago. Start using @apidevtools/json-schema-ref-parser in your project by running npm i @apidevtools/json-schema-ref-parser. There are 425 other projects in the npm registry using @apidevtools/json-schema-ref-parser.
1 Reply
Tobias
TobiasOP2w ago
Happy to share a dist of the code internally with someone

Did you find this page helpful?