question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JSON value 'thin' of type NSString cannot be converted to NSNumber

See original GitHub issue

I’m using react-native-render-html for rendering email bodies.

When I get the following in the html i get “JSON value ‘thin’ of type NSString cannot be converted to NSNumber”.

    <blockquote type=\"cite\" style=\"border-left-color: grey; border-left-width: thin; border-left-style: solid; margin: 5px 5px;padding-left: 10px;\">

I suppose this is just a dev-warning, because it’s dismissable. But I also suppose that the “thin” border will be omitted.

Is this the way the librart shows me that an attribute is not supported? No biggie, since it renders anyway, but maybe there is room for improvement.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
jsamrcommented, May 12, 2021

@castalonirenz The issue has been fixed in the latest css-processor release https://github.com/native-html/core/releases/tag/%40native-html/css-processor%401.8.1. You can explicitly install it, or wait for the react-native-render-html@6.0.0-alpha-25 which should be released within a few days.

1reaction
msagerydcommented, Mar 23, 2021

Thanks! Thats great news. I’m already thrilled about finding this library. It solves so many problems for me.

Thank you for your work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native - NSNumber cannot be converted to NSString
I get the following error: JSON value '700' of type NSNumber cannot be converted to NSSTring. I'm assuming this is because font-weight expects ......
Read more >
Fixing an error: JSON value '1' of type NSNumber cannot be ...
After having upgraded React Native to 0.62.2, it got the following error: JSON value '1' of type NSNumber cannot be converted to NSString...
Read more >
iOS : JSON value of type NSString cannot be converted to a ...
... type NSString cannot be converted to a ABI38_0_0YGValue [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] iOS : JSON ...
Read more >
Swift JSON Could not cast value of… | Apple Developer Forums
I'm getting the following error on line 03 \: Could not cast value of type '__NSArrayM' (0x10e710b60) to 'NSDictionary' (0x10e710fe8).
Read more >
React Native - Value of type NSString cannot be converted to ...
[Solved]-React Native - Value of type NSString cannot be converted to a ... json value '2' of type nsnumber cannot be converted to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found