TypeError: Object.values requires that input parameter not be null or undefined
See original GitHub issueDescription
I’m getting TypeError: Object.values requires that input parameter not be null or undefined
when using a useAnimatedStyle
hook
Screenshots
Steps To Reproduce
- Create
useAnimatedStyle
hook - Receive error
Expected behavior
I expect the animated style to work
Actual behavior
It throws an error
Snack or minimal code example
(working on a repro)
Package versions
- React: 16.13.1
- React Native: 0.63.2
- React Native Reanimated: 2.0.0-alpha.6
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Object.entries requires that input parameter not be null or ...
Issue. The issue is likely occurring on the initial render. You are attempting to convert undefined into an array of object entries.
Read more >Object.values requires that input parameter not be null or ...
Hey,. I'm trying to make a mobile application and the screen in question is supposed to show data received from an API.
Read more >Object.Entries Requires That Input Parameter Not ... - ADocLib
TypeError : Cannot convert undefined value to object on someVariable.closure #. This error frequently happens when metro cache is not updated. Clear it...
Read more >Object.values requires that input parameter not be ... - 인프런
IconButton 만들기에서 Object.values requires that input parameter not be null or undefined. 라는 오류가 나타나는데 왜 그런걸까요 ?
Read more >object.entries requires that input parameter not be null or ...
Coding example for the question object.entries requires that input parameter not be null or undefined react native?-React Native.
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 FreeTop 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
Top GitHub Comments
Hi. Make sure you used babel plugin as well as run packager with
--reset-cache
Solved it!
I didn’t realized I had 2 babel files, so at the end this worked in release mode:
.babelrc file
babel.config.js file