You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the restructure 2.0.0 package as part of my package.json file. When I attempt to run my app, I get the error below. I am creating a React app using Typescript and Ionic. How can I fix a dependency problem like this which is inside the node_modules folder itself? In package.json I have restructure set as version ^2.0.0 but I have also tried ^3.0.0 with the same results.
Uncaught ReferenceError: Buffer is not defined
at ./node_modules/restructure/src/DecodeStream.js
The text was updated successfully, but these errors were encountered:
@joelsax Did you get anywhere with figuring out a solution to this? I am hitting this issue trying to use pdfkit and am currently dead in the water as soon as I try and import that module in my code. Unsure of how best to proceed here.
I have the restructure 2.0.0 package as part of my package.json file. When I attempt to run my app, I get the error below. I am creating a React app using Typescript and Ionic. How can I fix a dependency problem like this which is inside the node_modules folder itself? In package.json I have restructure set as version ^2.0.0 but I have also tried ^3.0.0 with the same results.
Uncaught ReferenceError: Buffer is not defined
at ./node_modules/restructure/src/DecodeStream.js
The text was updated successfully, but these errors were encountered: