Exception
(node:120052) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'deps' of undefined at makeGenTask (%homedrive%%homedirectory%\AppData\Roaming\nvm\v10.17.0\node_modules\icon-font-generator\node_modules\webfonts-generator\src\generateFonts.js:111:29 at generateFonts (%homedrive%%homedirectory%\AppData\Roaming\nvm\v10.17.0\node_modules\icon-font-generator\node_modules\webfonts-generator\src\generateFonts.js:123:3 at webfont (%homedrive%%homedirectory%\AppData\Roaming\nvm\v10.17.0\node_modules\icon-font-generator\node_modules\webfonts-generator\src\index.js:98:2 at Promise (internal/util.js:274:30 at new Promise (<anonymous> at webfont (internal/util.js:273:12 at Object.generate (%homedrive%%homedirectory%\AppData\Roaming\nvm\v10.17.0\node_modules\icon-font-generator\lib\index.js:45:33) (node:120052) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:120052) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
This happens when I'm passing the --type parameter
Command
icon-font-generator .\front-end\svgicons\*.svg -o .\front-end\src\styles\icons -n conecta-icons -j false --html false --selector .icon --fontspath .\fonts --csspath .\front-end\src\styles\icons\_conecta-icons.scss --types 'woff, woff2, eot, ttf'
Exception
(node:120052) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'deps' of undefined at makeGenTask (%homedrive%%homedirectory%\AppData\Roaming\nvm\v10.17.0\node_modules\icon-font-generator\node_modules\webfonts-generator\src\generateFonts.js:111:29 at generateFonts (%homedrive%%homedirectory%\AppData\Roaming\nvm\v10.17.0\node_modules\icon-font-generator\node_modules\webfonts-generator\src\generateFonts.js:123:3 at webfont (%homedrive%%homedirectory%\AppData\Roaming\nvm\v10.17.0\node_modules\icon-font-generator\node_modules\webfonts-generator\src\index.js:98:2 at Promise (internal/util.js:274:30 at new Promise (<anonymous> at webfont (internal/util.js:273:12 at Object.generate (%homedrive%%homedirectory%\AppData\Roaming\nvm\v10.17.0\node_modules\icon-font-generator\lib\index.js:45:33) (node:120052) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) (node:120052) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.