Open 0Vipin0 opened 3 years ago
Hello, I have the same problem. it doesn't go further...
ttf2woff2@2.0.3 install D:\Dev\sdk\cache\pub\global_packages\icon_font_generator\node_modules\ttf2woff2 (node-gyp rebuild > builderror.log) || (exit 0)
On :
Dart SDK version: 2.10.4 (stable) (Wed Nov 11 13:35:58 2020 +0100) on "windows_x64"
Had the same issue.
Make sure the file name of SVG
files does not have dash
(es): -
However, when I fixed it now it is stuck in an infinite loop...
Check node version, this is node error.
The first thing I found out is that destination folders are not created by this package if they don't exist. You have to create them manually ... After that I was able to generate them under my linux OS.
To generate the icons, use the working command dart run icon_font_generator:generator
.
ex. dart run icon_font_generator:generator assets/svg/ fonts/my_icons_font.otf --output-class-file=lib/my_icons.dart -r
Refer to this pull request https://github.com/ScerIO/icon_font_generator/pull/37
I tried to create simple icons from svg but this error was given:
Is this issue related to the package side or my side?