Redocly / redoc

📘 OpenAPI/Swagger-generated API Reference Documentation
https://redocly.github.io/redoc/
MIT License
23.35k stars 2.29k forks source link

Not able to recognise modules imported from 'js-yaml' in react app #2505

Open deprantik opened 6 months ago

deprantik commented 6 months ago

I am getting this following error while trying to render 'RedocStandalone' in a react project:

ERROR in ../../../@redocly/openapi-core/src/js-yaml/index.ts 16:9-13 export 'load' (imported as 'load') was not found in 'js-yaml' (possible exports: parseYaml, stringifyYaml)

npm version: 2.1.3 (latest version)

nirajcoder373 commented 5 months ago

WhatsApp Image 2024-04-09 at 19 27 54_3a1b32f3