-
-
Notifications
You must be signed in to change notification settings - Fork 96
Description
I am encountering this error, which is likely why the CSS file is not being created.
Here’s how I’m using it:
svgtofont({ src: tempFolder, dist: dst, emptyDist: true, log: true, fontName: 'flux', css: false, svgicons2svgfont: { fixedWidth: true, centerHorizontally: true, normalize: true, fontHeight: 200, }, })
Here is the error message:
`
SUCCESS SVG font successfully created! 18:35:30
╰┈▶ C:\Users\user\projects\test\assets.font\icons\font.svg
SUCCESS TTF font successfully created! 18:35:31
╰┈▶ C:\Users\user\projects\test\assets.font\icons\font.ttf 18:35:31
SUCCESS EOT font successfully created! 18:35:31
╰┈▶ C:\Users\user\projects\test\assets.font\icons\font.eot
SUCCESS WOFF font successfully created! 18:35:31
╰┈▶ C:\Users\user\projects\test\assets.font\icons\font.woff 18:35:32
SUCCESS WOFF2 font successfully created! 18:35:32
╰┈▶ C:\Users\user\projects\test\assets.font\icons\font.woff2
SvgToFont:CLI:ERR: Cannot read properties of undefined (reading 'load') 18:35:32
at createSvgSymbol (node_modules\svgtofont\lib\utils.js:236:33)
at exports.default (node_modules\svgtofont\lib\index.js:123:43)
`