Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: downgrade react-scripts to 4.0.3 (5.0.1 had issues) #19

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

bodom0015
Copy link
Member

@bodom0015 bodom0015 commented Apr 21, 2023

Problem

Temporary fix for #18

SwaggerUI page is broken, missing the Buffer polyfill

Approach

  • Downgrade react-scripts to 4.0.3 to bring back this polyfill
  • Note: webpack is not customizable without ejecting webpack config

How to Test

  1. Checkout and run this branch locally
  2. Navigate to http://localhost:3000/swagger
    • Page should load
    • You should no longer see the Buffer is not defined error in the console

@bodom0015 bodom0015 merged commit 18c7677 into develop Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant