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

"Buffer" not found when using with React. More docs? #215

Open
James-Firth opened this issue Dec 31, 2021 · 0 comments
Open

"Buffer" not found when using with React. More docs? #215

James-Firth opened this issue Dec 31, 2021 · 0 comments

Comments

@James-Firth
Copy link

I tried using this with the Typescript templates in the latest Create React App and Vitejs and ran into issues with both, even after a few attempts at using polyfills.

Both of them have issues with the Node class Buffer, it seems a dependency (salsa20) is using it directly?

I think it would be ideal to have kbpgp released to work 100% natively on the web instead of requiring Node stuff. (Though the polyfills do work for some people)

If that's not possible I think some docs explaining how to set it up in a few common web frameworks such as React using webpack or Rollup?

If I misunderstanding anything please let me know!

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

1 participant