This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Open
Description
@apidevtools/swagger-parser is broken.
The 10.0.4 release, in this commit, swagger-parser moved off z-schema over to ajv, since then, it is impossible to bundle
or validate
swagger files.
Error
Cannot find module 'ajv/dist/core'
Require stack:
/data/node_modules/ajv-draft-04/dist/index.js
/data/node_modules/@apidevtools/swagger-parser/lib/validators/schema.js
/data/node_modules/@apidevtools/swagger-parser/lib/index.js
/data/node_modules/@apidevtools/swagger-cli/lib/bundle.js
/data/node_modules/@apidevtools/swagger-cli/lib/index.js
/data/node_modules/@apidevtools/swagger-cli/bin/swagger-cli.js
/data/node_modules/swagger-cli/swagger-cli.js
Tested on:
npm: 8.5.5
node: 16.15.0
npm: 6.14.15
node: 14.18.2
Metadata
Assignees
Labels
No labels