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 recently upgraded Fontkit from 1.8.0 to 2.0.2. Post the upgrade my app fails to load with the following error:
Uncaught RangeError: Array buffer allocation failed
at new ArrayBuffer (<anonymous>)
at new Uint8Array (<anonymous>)
at new UnicodeTrie (index.js:87:1)
at Object.<anonymous> (browser.cjs:7530:1)
at Object.<anonymous> (browser.cjs:13344:1)
at 1081.@swc/helpers/lib/_define_property.js (browser.cjs:13344:1)
at o (_prelude.js:1:1)
at _prelude.js:1:1
at Object.<anonymous> (FontManager.js:2:1)
Node version: v14.17.6
Import statement: import fontkit from 'fontkit';
Is there something I am missing here?
The text was updated successfully, but these errors were encountered:
Does it work with v16 (the current active LTS)? The behaviour of Buffer changed over the last few major versions so it's possible the new release relies on something that only works in 16 and up. If so, the package.json will probably need an engines section added to make sure older Node users get a warning.
I recently upgraded Fontkit from 1.8.0 to 2.0.2. Post the upgrade my app fails to load with the following error:
Node version:
v14.17.6
Import statement:
import fontkit from 'fontkit';
Is there something I am missing here?
The text was updated successfully, but these errors were encountered: