Console errors in React Native Debug mode
See original GitHub issueIssue Description
Hi @conorhastings,
Apologies for filing multiple issues. As I am really looking forward to integrate this highlighter in my current app.
I am using below versions in my
"react-native-syntax-highlighter": "^2.0.0",
"react-syntax-highlighter": "^7.0.1",
But when running my app under React Native debug mode, the console log is getting flooded with below message
VM651:1 Uncaught SyntaxError: Unexpected token o in JSON at position 1
at JSON.parse (<anonymous>)
at prism-core.js:493
Although the highlighter view loads fine, but the console log seems to be bogged down with the error messages. Would be great if this can be fixed.
Thank you again,
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Debugging - React Native
To debug the JavaScript code in Chrome, select "Debug JS Remotely" from the Developer Menu. This will open a new tab at ...
Read more >How to do logging in React Native - Stack Overflow
Select 'Debug JS' from your app on the device, and 'Toggle debug console(shift-command-y)' from your view menu on VS Code. You need github.com/ ......
Read more >Debugging React Native with react-native-debugger
This article will help you learn how to use React Native Debugger and aid you build and debug your app quicker. Check React...
Read more >Reviewing React Native console logs: Best practices
When anything goes wrong in an app, console.log() is the only statement we use to try and figure out what's wrong in our...
Read more >React Native Debugger - Stop Using Console Logs - Tutorial
Debugging React Native in VS Code · Flipper - open-source debugging tool developed by Facebook for iOS, Android, and React Native applications.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I know it’s been a while, i’ve been busy with a move / new job / but it’s on my todo list for this weekend, thanks for the patience.
Have the same issue, it really doesn’t let me debugging things