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
Uncaught ReferenceError: Buffer is not defined
at node_modules/@react-pdf/unicode-properties/lib/unicode-properties.es.js (unicode-properties.es.js:268:31)
at __init (chunk-ACCAMVX6.js?v=3dcd2ad6:15:56)
at node_modules/@react-pdf/fontkit/lib/fontkit.browser.es.js
"vite": "2.9.9",
"@react-pdf/renderer": "2.1.2",
any idea why ?
The text was updated successfully, but these errors were encountered:
Yo need to polyfill Buffer if you're trying to run this lib on the web. Not sure how to do it with the stack your using or Vite, but it isn't an issue with this lib
I get the following error:
Uncaught ReferenceError: Buffer is not defined
at node_modules/@react-pdf/unicode-properties/lib/unicode-properties.es.js (unicode-properties.es.js:268:31)
at __init (chunk-ACCAMVX6.js?v=3dcd2ad6:15:56)
at node_modules/@react-pdf/fontkit/lib/fontkit.browser.es.js
"vite": "2.9.9",
"@react-pdf/renderer": "2.1.2",
any idea why ?
The text was updated successfully, but these errors were encountered: