-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Cannot find name 'Buffer' on Quagga2 type-definitions #509
Comments
Thank you for filing an issue! Please be patient. :-) |
It seems to work now, the fix in my case was to:
|
Not sure if this is a good workaround to add |
Thanks for bringing this back up. Decent tools are available now to probably replace the use of Buffer type in here. |
Hi all
I'm start using Quagga, and facing some problem after install Quagga on my Angular project.
And after the tring to import the library
import Quagga from '@ericblade/quagga2';
I'm facing the following problem:
Error: node_modules/@ericblade/quagga2/type-definitions/quagga.d.ts:784:33 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try
npm i --save-dev @types/nodeand then add 'node' to the types field in your tsconfig.
I tried to install the @types/node and also insert the Type:node in the tsconfig file, but without luck, someone can point me to the right direction?
The text was updated successfully, but these errors were encountered: