TypeError: Cannot convert undefined value to object on first launch
See original GitHub issueHello,
I hope I’m not doing something wrong as this is the 3rd issue we’ve run into setting up this library. When the app is first launched in the development environment (not sure about production), we are faced with this error

The only way around this was to remove all className
s and re-add them while the app is running, which is just not feasible if the app is any more complex than a hello world application. Followed the simplest version of the instructions on the documentation website.
Environment
expo@45.0.4
tailwindcss-react-native@1.4.0
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:13 (8 by maintainers)
Top Results From Across the Web
Cannot convert undefined or null to object - Stack Overflow
Generic answer. This error is caused when you call a function that expects an Object as its argument, but pass undefined or null...
Read more >Cannot convert undefined or null to Object in JavaScript
The "Cannot convert undefined or null to Object" error occurs when we pass a null or an undefined value to a function that...
Read more >Object.keys(null) possible - cannot convert undefined or null to ...
livedata_connection.js:1626 Uncaught TypeError: Cannot convert undefined or null to objectat Function.keys (<anonymous>)at Connection.
Read more >cannot convert undefined or null to object react - You.com
Type Error: Cannot convert undefined or null to object ... 1 Answer. Sorted by: 1. The issue is that you can't create an...
Read more >Uncaught TypeError: Cannot convert undefined or null to ...
Uncaught TypeError: Cannot convert undefined or null to object while using FullCalendar in Laravel. MyReservations.blade.php. Copy Code
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
@thespacemanatee Can you please test
v1.4.6-2
.🎉 This issue has been resolved in version 1.5.0-next.20 🎉
The release is available on:
Your semantic-release bot 📦🚀