Weird error when using "platform add ios"


#1

Hi,

I am having a weird error that I didn’t have before. Do you think it is coming from my code or from node? I don’t get it. thanks.

macboo-of-me$ ionic platform add Ios
Error happened Error: Unexpected close tag
Line: 57
Column: 9
Char: >
    at error (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/xml2js/node_modules/sax/lib/sax.js:667:10)
    at strictFail (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/xml2js/node_modules/sax/lib/sax.js:693:7)
    at closeTag (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/xml2js/node_modules/sax/lib/sax.js:887:9)
    at Object.write (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/xml2js/node_modules/sax/lib/sax.js:1449:13)
    at Parser.exports.Parser.Parser.parseString (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/xml2js/lib/xml2js.js:503:31)
    at Parser.parseString (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/xml2js/lib/xml2js.js:7:59)
    at Object.exports.parseString (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/xml2js/lib/xml2js.js:535:19)
    at /usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/config-xml.js:22:12
    at /usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/cordova-lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16
    at tryToString (fs.js:414:3)
Error: Unexpected close tag
Line: 57
Column: 9
Char: >
    at error (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/xml2js/node_modules/sax/lib/sax.js:667:10)
    at strictFail (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/xml2js/node_modules/sax/lib/sax.js:693:7)
    at closeTag (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/xml2js/node_modules/sax/lib/sax.js:887:9)
    at Object.write (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/xml2js/node_modules/sax/lib/sax.js:1449:13)
    at Parser.exports.Parser.Parser.parseString (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/xml2js/lib/xml2js.js:503:31)
    at Parser.parseString (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/xml2js/lib/xml2js.js:7:59)
    at Object.exports.parseString (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/xml2js/lib/xml2js.js:535:19)
    at /usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/config-xml.js:22:12
    at /usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/cordova-lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16
    at tryToString (fs.js:414:3)

#2

Answer here:

It was coming from my config.xml… as alaways