[
https://issues.apache.org/jira/browse/CB-12091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sridharreddy U closed CB-12091.
-------------------------------
Resolution: Cannot Reproduce
issue got resolved with clean setup
> Error: Unexpected token } in JSON at position 1957
> --------------------------------------------------
>
> Key: CB-12091
> URL: https://issues.apache.org/jira/browse/CB-12091
> Project: Apache Cordova
> Issue Type: Bug
> Components: AllPlatforms
> Affects Versions: 6.3.2
> Environment: I am using 6.4.0 cordova... I am not able to select this
> version in fix version, so I have used 6.3.2.
> Here are my environment details
> mac OS 10.12.1
> $ cordova -v
> 6.4.0
> $ ionic -v
> 2.1.4
> $ node -v
> v7.0.0
> $ npm -v
> 3.10.8
> Reporter: Sridharreddy U
> Fix For: 6.3.2
>
>
> After the upgrade to Cordova 6.4.0, I am getting following error while adding
> platforms (android or ios) or any plugin. This error is coming at end of the
> output.
> "Error: Unexpected token } in JSON at position 1957"
> However, plugins, platform getting added successfully.
> Here is output (removed my project specific info),
> $ ionic platform add ios
> Running command:
> ....
> Adding ios project...
> ..
> Creating Cordova project for the iOS platform:
> ..
> iOS project created with [email protected]
> ..
> Error: Unexpected token } in JSON at position 1957
> $ ionic platform add [email protected]
> Running command:
> Adding android project...
> Creating Cordova project for the Android platform:
> Path: platforms/android
> Package: com.test.myapp
> Name:
> Activity: MainActivity
> Android target: android-23
> Android project created with [email protected]
> Error: Unexpected token } in JSON at position 1957
> I am not sure consequences of this error, currently I am not able run the
> android app as it is not able to load the plug-ins while launching.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]