Meteor build error - unexpected token A

I’m trying to build my app with:

meteor build ~/Projects/my-app-deploy/android-build --server http://app.myapp.io:80 --mobile-settings mobile-config.js --verbose

and I’m getting the below error.

What could be the issue?

Getting installed version for platform ios in Cordova project
Preparing Cordova project from app bundle
Processing mobile-config.js
Copying resources for mobile apps
Writing new config.xml
node.js:489
        callback();
        ^

SyntaxError: Unexpected token A
    at Object.parse (native)
    at CordovaBuilder.copyWWW (/tools/cordova/builder.js:382:12)
    at CordovaProject.prepareFromAppBundle (/tools/cordova/project.js:196:13)
    at /tools/cli/commands.js:1000:24