You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Angular 2 in debug mode not working with InputOutputStream #93
JsonReaderException: Unexpected character encountered while parsing value: A. Path '', line 0, position 0.
The issue
Page not load, and exception accured
JsonReaderException: Unexpected character encountered while parsing value: A. Path '', line 0, position 0.
Further technical details
This is pretty easy issue - right now InputOutputStreamNodeInstance wait for first recieved data from Node, and claim it as boot function response. With ng2 it not so, since in development mode it everytime produce message: Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.
To fix this issue we need implement some kind of filtering our result. Root couse placed inside OnOutputDataReceived method in InputOutputStreamNodeInstance class.
Activity
bug: Angular 2 not working with InputOutputStream
SteveSandersonMS commentedon Jun 1, 2016
As per discussion on the pull request,
InputOutputStreamis now obsolete and has been removed, so this issue no longer applies.laskoviymishka commentedon Jun 1, 2016
What is alternatives?
laskoviymishka commentedon Jun 1, 2016
My bad, didn't mention pr sisscussion