Non-whitespace before first tag


#1

hello all ,my app can work very good but today appear this error

PS C:\Users\duaa\camera> ionic cordova platform rm android
Error: Non-whitespace before first tag.
Line: 0
Column: 1
Char:
at error (C:\Users\duaa\AppData\Roaming\npm\node_modules\ionic\node_modules\sax\lib\sax.js:666:10)
at strictFail (C:\Users\duaa\AppData\Roaming\npm\node_modules\ionic\node_modules\sax\lib\sax.js:692:7)
at beginWhiteSpace (C:\Users\duaa\AppData\Roaming\npm\node_modules\ionic\node_modules\sax\lib\sax.js:965:7)
at SAXParser.write (C:\Users\duaa\AppData\Roaming\npm\node_modules\ionic\node_modules\sax\lib\sax.js:1006:11)
at XMLParser.feed (C:\Users\duaa\AppData\Roaming\npm\node_modules\ionic\node_modules\elementtree\lib\parsers\sax.js:48:15)
at ElementTree.parse (C:\Users\duaa\AppData\Roaming\npm\node_modules\ionic\node_modules\elementtree\lib\elementtree.js:271:10)
at Object.parse (C:\Users\duaa\AppData\Roaming\npm\node_modules\ionic\node_modules\elementtree\lib\elementtree.js:584:8)
at Function. (C:\Users\duaa\AppData\Roaming\npm\node_modules\ionic\node_modules@ionic\cli-utils\lib\cordova\config.js:35:28)
at Generator.next ()
at fulfilled (C:\Users\duaa\AppData\Roaming\npm\node_modules\ionic\node_modules\tslib\tslib.js:104:62)

i want to solve it
worked npm i
& ionic cordova platform rm android
but this error same
can anyone help me


#2

The same problem here!!

Did you solve it ??


#3

problem in internet …close dieter & app
Make sure your computer connect internet


#4

check your config.xml file if you have a backup of it try to restore it.