Hello! I'm getting this errors trying to deploy my backend in Vercel. It's directly related with SwaggerUI, I've been looking some fixes but no one was successful.
Some found solutions:
- https://stackoverflow.com/questions/62136515/swagger-ui-express-plugin-issue-with-webpack-bundling-in-production-mode/63048697#63048697
- https://github.com/scottie1984/swagger-ui-express/issues/90#issuecomment-516944437
The errors in console:
GET https://projects.vercel.app/api-docs/swagger-ui.css net::ERR_ABORTED 404 (Not Found)
GET https://tours-56qmtum23-sebasromeros-projects.vercel.app/api-docs/swagger-ui-standalone-preset.js net::ERR_ABORTED 404 (Not Found)
GET https://tours-56qmtum23-sebasromeros-projects.vercel.app/api-docs/swagger-ui-bundle.js net::ERR_ABORTED 404 (Not Found)
swagger-ui-init.js:128 Uncaught ReferenceError: SwaggerUIBundle is not defined
at window.onload (swagger-ui-init.js:128:7)