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

Can't find variable: Buffer #12

Open
arshbot opened this issue Jan 25, 2018 · 1 comment
Open

Can't find variable: Buffer #12

arshbot opened this issue Jan 25, 2018 · 1 comment

Comments

@arshbot
Copy link

arshbot commented Jan 25, 2018

I followed the steps and followed this issue that was immensely helpful at solving another problem, however now I'm stuck at ironically a similar issue as that previous issue post.

The crypto module seems to import fine, however a standard library file is throwing an error because it can't access Buffer.

image

Any ideas? I'm not sure why this is being thrown now when it didn't happen before.

@macashok81
Copy link

You need to have a global.js file and import it. This is specified in the example. https://github.com/philikon/ReactNativify/blob/master/global.js
https://github.com/philikon/ReactNativify/blob/master/index.android.js

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