jhen0409 / jhen0409/react-native-debugger
Unexpected token in JSON at position 0
- Dominant language
- JavaScript
- Stars
- 10.4k
- Forks
- 815
- PR merge metrics
- No merged PRs in 30d
Description
React Native Debugger app version: 0.10.2
React Native version: 0.61.2
Platform: iOS 11.0.1
Is real device of platform: no (sim)
Operating System: macOS 10.15
I'm trying to use the inspector, it works well until I try to inspect a specific view, at which point I always get: `VM365:1 Uncaught SyntaxError: Unexpected token in JSON at position 0
at JSON.parse ()...`
The inspector goes blank and app falls back to the in-app inspector. The problematic view has some padding expressed as percentages:
```
paddingTop: '20%',
paddingLeft: '14%',
paddingRight: '10%',
```
When I remove them, inspector doesn't crash, when I add them back, it crashes again the moment I select that view in inspector, so it's probably related.
Contributor guide
Assessment
This issue has not been assessed yet.