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] : Buffer explicitly require typo #50
Conversation
@rvagg your thoughts ? |
@pepoviola where are you running this ? |
Hi @calvinmetcalf, thanks for your answer. We have a builder called cartero based on Thanks again for the answer and check this issue. |
Ah, ok so this was my fault. I should have included the
In Node.js, So IMO the solution here is to add the ‘buffer’ package, I’ll put in a PR to do that as soon as I finish this comment. But the other possible way here is to back out my explicit |
Hi @rvagg, thanks for look at this issue. Adding the Again thanks for take the time to look at this 🙌 |
what about #53 ? |
As I said elsewhere,
If you don’t want to deal with this problem at all, we can just remove the |
@pepoviola maybe just in the short term add new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer'],
}) |
Hi @calvinmetcalf, thanks for the answer but we don't use webpack. We just use |
oh then maybe try #53 |
Hi @calvinmetcalf, did you want to I try that fix in my environment? |
yes please |
Hi @calvinmetcalf, yes works ok with #53 . |
Seems like #53 solved it. |
Hi All, first I just want to thanks for the amazing job!!
I found a bug related to this commit that breaks the use of
crypto
in the browser.Related to this code
As this
Note
( https://www.npmjs.com/package/buffer#usage )I think the line should be
( I try this fix and worked as expected )
Again, thanks for this amazing job!