I am trying to add a plugin to my PhoneGap project and it fails with a syntax error.
Team:
phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git
Performance:
[phonegap] adding a plugin: https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git
And then the error:
/USR/local/Library/node_modules/PhoneGap/node_modules/Cordova/node_modules/plugman/node_modules/xcode/lib/parser/pbxproj.js:2654 throw new this.SyntaxError (^ SyntaxError: Expected "/ *", = or [A-Za-z0-9_], but "." found.
The node.jsparser seems to be throwing an error because it encounters the unexpected .. Any ideas on what causes it or how can it be debugged further ?
Thanks;)
source
share