Plugin command is causing a CLI error


#1

Now I can’t add, remove, nor get list from the plugins list !
Because I won’t get success with my release apk (I got a blank screen after splashScreen however the app worked under web browser), I tested removing several of the plugins, one by one, and relaunch some build,

This operation finally causes this error log in CLI :

Error: Attribute without value
Line: 21
Column: 9
Char: <
at error (C:\Users\Gardien\AppData\Roaming\npm\node_modules\ionic\node_
modules\ionic-app-lib\node_modules\xml2js\node_modules\sax\lib\sax.js:667:1
0)
at strictFail (C:\Users\Gardien\AppData\Roaming\npm\node_modules\ionic
node_modules\ionic-app-lib\node_modules\xml2js\node_modules\sax\lib\sax.js:
693:7)
at Object.write (C:\Users\Gardien\AppData\Roaming\npm\node_modules\ioni
c\node_modules\ionic-app-lib\node_modules\xml2js\node_modules\sax\lib\sax.j
s:1353:13)
at Parser.exports.Parser.Parser.parseString (C:\Users\Gardien\AppData\R
oaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\xml2j
s\lib\xml2js.js:503:31)
at Parser.parseString (C:\Users\Gardien\AppData\Roaming\npm\node_module
s\ionic\node_modules\ionic-app-lib\node_modules\xml2js\lib\xml2js.js:7:59)
at Object.exports.parseString (C:\Users\Gardien\AppData\Roaming\npm\nod
e_modules\ionic\node_modules\ionic-app-lib\node_modules\xml2js\lib\xml2js.j
s:535:19)
at C:\Users\Gardien\AppData\Roaming\npm\node_modules\ionic\node_modules
\ionic-app-lib\lib\config-xml.js:21:12
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)

Note that all the plugin commands works correctly in others projects.
What can I do ?

Solved with :
Hoops, I read again the config.xml that contained a deleted code line. My error was to finish the line with the word “value”.


#2

Which CLI version do you use?


#3

My error was simply to deleted a bit of one line in config.xml after one of the word “value” !!