swagger-api / swagger-ui

Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
https://swagger.io
Apache License 2.0
26.55k stars 8.96k forks source link

Warning: Failed to parse source map #8967

Open guilhermemiua opened 1 year ago

guilhermemiua commented 1 year ago

Q&A (please complete the following information)

Screenshots

image

How can we help?

Hi! When running the swagger-ui-react (v5.1.0) with CRA react-scripts (v5.0) and react (v18), it shows a warning as we see in the image above. Looks like it's related to the libraries autolinker and remarkable. Is there an issue/PR addressing this problem?

Thank you for the amazing library! :)

Some other people are also facing this problem:

Zenemig commented 10 months ago

Any news on this? It's pretty annoying to have all that noise on the console and it's been almost 6 months since this issue was raised.

Maybe-NSA commented 9 months ago

Also seeing this with swagger-ui-react^5.2.0. I've tried patching autolinker with no success. My current workaround is to add ignoreWarnings: [/Failed to parse source map/], to my webpack.dev.js file and then building the project has removed the warnings for me.

bennyh960 commented 7 months ago

Also facing same issue

kleysonfiretail commented 1 month ago

+1

rredfearn32 commented 3 weeks ago

+1