Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colour console issues in React Native #241

Closed
chmac opened this issue May 14, 2021 · 2 comments
Closed

Colour console issues in React Native #241

chmac opened this issue May 14, 2021 · 2 comments

Comments

@chmac
Copy link

chmac commented May 14, 2021

Using the nightingale-app-react-native package in our expo project, I see the following in my expo console (running in my terminal, iTerm2):

image

But in the React Native Debugger, connected to my app, I see this:

Screenshot 2021-05-14 at 11 41 56

I think there's something going on with ansi colour codes or such that is being relayed to the remote console and somehow not quite working when it's displayed there. Unfortunately I don't know enough about the React Native console to be able to offer any more useful feedback.

Edit: Same on both iOS & Android for me.

@chmac
Copy link
Author

chmac commented May 14, 2021

Here's some more screenshots, somehow the colours are being added to the console, but there's also some spurious leading characters visible in the React Native Debugger console:

image

Here's the same messages on the React Native Debugger console:

image

Then the error level:

image

Here the error, critical, fatal, alert and emergency level messages are not visible because they're red on red:

image

@chmac
Copy link
Author

chmac commented May 14, 2021

Incidentally, as a workaround, if I cmd+a in the console to select the text, then I can see the message like so:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant