[
https://issues.apache.org/jira/browse/CB-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13278786#comment-13278786
]
Adam Butler commented on CB-803:
--------------------------------
I couldn't reproduce the bug when I attempted again this time with --verbose...
however I was unable to connect (again on iOS only) but was able to read the
target JS from source. I was eventually able to get a connection by using the
bookmarklet method with no errors.
RE: What were you doing when you saw this?
On Page load.
> Server Bug
> ----------
>
> Key: CB-803
> URL: https://issues.apache.org/jira/browse/CB-803
> Project: Apache Cordova
> Issue Type: Bug
> Components: weinre
> Affects Versions: 2.0.0
> Environment: Node Server running on OSX 10.7
> Device - iOS 5.1
> Reporter: Adam Butler
> Assignee: Patrick Mueller
> Labels: ios, json, syntaxerror, weinre
>
> When loading a page I am receiving this error in the node server console only
> when the client is an iOS device.
> ---------------------------------------------------------
> error: SyntaxError: Unexpected token m
> ---------------------------------------------------------
> stack:
> native json.js:56 - parse()
> jsonBodyParser.coffee:23 - parseBodyAsJSON()
> events.js:64 - EventEmitter.emit()
> http.js:137 - parser.onMessageComplete()
> http.js:1410 - socket.ondata()
> net.js:354 - onread()
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira