fontello / svg2ttf

SVG -> TTF font convertor
MIT License
518 stars 79 forks source link

TypeError [ERR_INVALID_ARG_TYPE]: The "size" argument must be of type number. Received an instance of Uint8Array #122

Closed wmixx closed 2 years ago

wmixx commented 2 years ago

node:internal/validators:124 throw new ERR_INVALID_ARG_TYPE(name, 'number', value); ^

TypeError [ERR_INVALID_ARG_TYPE]: The "size" argument must be of type number. Received an instance of Uint8Array

wmixx commented 2 years ago

Is this error a node version problem?

puzrin commented 2 years ago

It's impossible to understand what happens with the existing info. Need minimalistic sample, how to reproduce, to reopen.

Note that this package has working tests: https://github.com/fontello/svg2ttf/blob/master/test/test.js. Maybe playing with those can help.