[ionic5] cordova-res not working

Hey, im trying to change my app icon using cordova-res.

I installed cordova-res by:

npm install cordova-res@latest -g

When im using cordova-res I get this:

Error: Unmatched closing tag: widget
Line: 15
Column: 9
Char: >
at error (/Users/company/.nvm/versions/node/v14.4.0/lib/node_modules/cordova-res/node_modules/sax/lib/sax.js:666:10)
at strictFail (/Users/company/.nvm/versions/node/v14.4.0/lib/node_modules/cordova-res/node_modules/sax/lib/sax.js:692:7)
at closeTag (/Users/company/.nvm/versions/node/v14.4.0/lib/node_modules/cordova-res/node_modules/sax/lib/sax.js:893:7)
at SAXParser.write (/Users/company/.nvm/versions/node/v14.4.0/lib/node_modules/cordova-res/node_modules/sax/lib/sax.js:1436:13)
at XMLParser.feed (/Users/company/.nvm/versions/node/v14.4.0/lib/node_modules/cordova-res/node_modules/elementtree/lib/parsers/sax.js:48:15)
at ElementTree.parse (/Users/company/.nvm/versions/node/v14.4.0/lib/node_modules/cordova-res/node_modules/elementtree/lib/elementtree.js:271:10)
at Object.parse (/Users/company/.nvm/versions/node/v14.4.0/lib/node_modules/cordova-res/node_modules/elementtree/lib/elementtree.js:584:8)
at Object.read (/Users/company/.nvm/versions/node/v14.4.0/lib/node_modules/cordova-res/dist/cordova/config.js:151:39)
at async AsyncFunction.CordovaRes [as run] (/Users/company/.nvm/versions/node/v14.4.0/lib/node_modules/cordova-res/dist/index.js:24:22)
at async AsyncFunction.runCommandLine (/Users/company/.nvm/versions/node/v14.4.0/lib/node_modules/cordova-res/dist/index.js:92:28)