-
Notifications
You must be signed in to change notification settings - Fork 279
Plugin installation failed due to SyntaxError: Unexpected token } #83
Comments
What version of Cordova are you using? |
Well i have solved the issue. There is a file 'fetch.json' in plugins folder. There was an extra '}' in it. I just removed it and all went well. This was not a issue with ionic keyboard plugin. It doesn't allow me add any plugin. Thanks |
i have the same issue and i have tried to install the last version of cordova but not work |
Yes, I have the same. |
+1 cordova plugin add com.ionic.keyboard /usr/local/lib/node_modules/ionic/node_modules/ionic-app-lib/lib/state.js:543 |
try using "cordova plugin add ionic-plugin-keyboard" plugin id has been changed to "ionic-plugin-keyboard" from "com.ionic.keyboard". |
I experienced this issue today. "cordova plugin add ionic-plugin-keyboard" worked for me |
I use it ^^ thx. |
i am getting this error please help. |
@sameerrswt use cordova plugin add ionic-plugin-keyboard |
I am getting below error on running
cordova plugin add com.ionic.keyboard
and unable to install plugin.
SyntaxError: Unexpected token }
at Object.parse (native)
at getJson (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/metadata.js:29:31)
at Object.exports.save_fetch_metadata (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/metadata.js:56:24)
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:148:18
at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13)
at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:557:44
at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:419:13)
The text was updated successfully, but these errors were encountered: