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
ReferenceError: Buffer is not defined #215
Comments
+1 |
thanks I just released a version yesterday that probably introduced this. |
please try version 1.4.4 and let me know |
@soldair Thanks. It's working now. |
@soldair I've just found this issue and I'm experiencing it or something similar on 1.2.2, 1.3.4, 1.4.0-1.4.4, and master at eb2d499. I'm using AngularJS 1.5.8, with qrcode in the frontend/browser, and the error appears in the browser debug console. On some versions of qrcode the root component of my app won't instantiate, on some it only triggers once I try to use it. |
If anyone is coming here from a rollup project, https://www.npmjs.com/package/rollup-plugin-node-builtins |
As per this discussion around node-globals/node-builtins I found rollup-plugin-node-polyfills got the QR code working for me using Rollup with Svelte. |
I'm trying to get it to work in Angular 8.
In the
component.ts
fileBut this is giving an error:
The text was updated successfully, but these errors were encountered: