Skip to content

Fix Buffer is undefined for react-script 5.0.0 #158

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

Closed
FrameMuse opened this issue Feb 17, 2022 · 1 comment
Closed

Fix Buffer is undefined for react-script 5.0.0 #158

FrameMuse opened this issue Feb 17, 2022 · 1 comment

Comments

@FrameMuse
Copy link

FrameMuse commented Feb 17, 2022

There is a error using react-script 5.0.0
image
image

Fix:

  • npm i buffer
  • add import { Buffer } from "buffer"
    or:
  • use Uint8Array, it seems it works as Buffer in this case
@ajfunelas
Copy link

My temporary workaround was downgrading from react-scripts 5.0.1 to 4.0.3

@FrameMuse FrameMuse closed this as not planned Won't fix, can't repro, duplicate, stale Dec 28, 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

No branches or pull requests

2 participants