Failed to add PhoneGap plugin due to syntax error

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;)

0
source share
1 answer

You are not alone, I think :) It seems like a mistake in the CLI

https://github.com/phonegap/phonegap-cli/issues/188

0
source

All Articles