Skip to content
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 generate font files #16

Open
Crimone opened this issue Dec 14, 2022 · 0 comments
Open

Cannot generate font files #16

Crimone opened this issue Dec 14, 2022 · 0 comments

Comments

@Crimone
Copy link

Crimone commented Dec 14, 2022

Thank you for making this tool. But now this tool does not work correctly, it seems to be related to the update of the es-abstract package, I can't be sure.

Calculating...
C:\Users\Crimone\AppData\Roaming\npm\node_modules\font-splitter\node_modules\es-abstract\5\CheckObjectCoercible.js:11
                throw new $TypeError(optMessage || ('Cannot call method on ' + value));
                ^

TypeError: Cannot call method on null
    at Object.CheckObjectCoercible [as RequireObjectCoercible] (C:\Users\Crimone\AppData\Roaming\npm\node_modules\font-splitter\node_modules\es-abstract\5\CheckObjectCoercible.js:11:9)
    at matchAll (C:\Users\Crimone\AppData\Roaming\npm\node_modules\font-splitter\node_modules\string.prototype.matchall\implementation.js:24:13)
    at getFontName (C:\Users\Crimone\AppData\Roaming\npm\node_modules\font-splitter\src\app.js:25:10)
    at genSubsets (C:\Users\Crimone\AppData\Roaming\npm\node_modules\font-splitter\src\app.js:203:32)
    at Object.<anonymous> (C:\Users\Crimone\AppData\Roaming\npm\node_modules\font-splitter\bin\font-splitter:59:1)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant