Error: Text data outside of root node?


#1

When i want to run my project, an error occured :

Error: Text data outside of root node.
Line: 95
Column: 1
Char: "
    at error (/usr/local/lib/node_modules/ionic/node_modules/sax/lib/sax.js:666:10)
    at strictFail (/usr/local/lib/node_modules/ionic/node_modules/sax/lib/sax.js:692:7)
    at SAXParser.write (/usr/local/lib/node_modules/ionic/node_modules/sax/lib/sax.js:1035:15)
    at XMLParser.feed (/usr/local/lib/node_modules/ionic/node_modules/elementtree/lib/parsers/sax.js:48:15)
    at ElementTree.parse (/usr/local/lib/node_modules/ionic/node_modules/elementtree/lib/elementtree.js:271:10)
    at Object.parse (/usr/local/lib/node_modules/ionic/node_modules/elementtree/lib/elementtree.js:584:8)
    at Function.<anonymous> (/usr/local/lib/node_modules/ionic/node_modules/@ionic/cli-utils/lib/cordova/config.js:35:28)
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/lib/node_modules/ionic/node_modules/tslib/tslib.js:104:62)
    at <anonymous>

Any can help me ? I don’t know what’s going on …


#2

Your config.xml is not well done I suppose :stuck_out_tongue:


#3

YEAH THANKS !
THe closing tag of in my config.xml was like this :

</widget>
" />
    <engine name="android" spec="~7.0.0" />
</widget>

And now it’s just :

   <engine name="android" spec="~7.0.0" />
</widget>

It was brainless but just needed to found were was the error :stuck_out_tongue: