Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Can't find variable buffer #88

Open
Srinivas2445 opened this issue Dec 31, 2020 · 7 comments
Open

Can't find variable buffer #88

Srinivas2445 opened this issue Dec 31, 2020 · 7 comments

Comments

@Srinivas2445
Copy link

I am using react-s3 for react native project,Now facing issue while uploading image from android mobile..."Can't find variable Buffer"..

@swandogg
Copy link

lol same

@ianharoldonwater
Copy link

SAME!

@william-brace
Copy link

Same here

@pankajbansal
Copy link

Same issue I am also getting

@MigelAngelEC
Copy link

Same here

@vontell
Copy link

vontell commented Dec 16, 2021

Same

@uchikuch
Copy link

uchikuch commented Dec 23, 2021

npm i buffer

Then import it at the top of your file like so:

window.Buffer = window.Buffer || require("buffer").Buffer;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants