Ionic-cli: Caught exception: Error: No whitespace between attributes Line: 5

Created on 1 Jul 2016  路  5Comments  路  Source: ionic-team/ionic-cli

Hi, every time im trying to build my ionic 2 application android or ios im getting this error:

Caught exception:
Error: No whitespace between attributes
Line: 5
Column: 17
Char: i
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 Object.write (/usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/node_modules/xml2js/node_modules/sax/lib/sax.js:1408: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:21:12
at FSReqWrap.readFileAfterClose as oncomplete

Any help please!

Most helpful comment

It's closed, but I had the same problem and correct the parsing problem by checking my config.xml file, I had a bad " in it dues to changing the file with textedit which change the " to a 聽禄

Hope this help

All 5 comments

Hello! Thanks for opening an issue with us! Could you post the output of ionic info here please? Thanks for using Ionic !

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!

It's closed, but I had the same problem and correct the parsing problem by checking my config.xml file, I had a bad " in it dues to changing the file with textedit which change the " to a 聽禄

Hope this help

They are simply closing the issue, without fixing them

@sunilrawat123 Keep the comments constructive, please. Review our code of conduct: https://github.com/ionic-team/ionic/blob/master/CODE_OF_CONDUCT.md

This isn't something we can "fix" because it's not a bug. This error occurs when the config.xml file cannot be parsed due to a syntax error. The error message explains at which line and column number the syntax mistake was found. It must be fixed manually.

Was this page helpful?
0 / 5 - 0 ratings