react-native-uuid-generator
react-native-uuid-generator copied to clipboard
TypeError: null is not an object (evaluating 'RNUUIDGenerator.getRandomUUID')
Hello. On execute RNUUIDGenerator.getRandomUUID i got error TypeError: null is not an object (evaluating 'RNUUIDGenerator.getRandomUUID').
I got the same error ! any solution
Did you link
?
Try
react-native link react-native-uuid-generator
or
npx react-native link react-native-uuid-generator
Even after using react-native link command the same error pops up
@The0racle Always the same problem even with using link
same error!
Hi! The same problem! Please help!
Same issue here...
Same error ! all fix mentionned above don't work
For anyone who comes across this:
- had the same issue
- tried
npx link ...
(again) and noticed the deprecation warning - ran
npx unlink ...
- ran
cd ios && pod install && cd ..
- works!
Autolinking + installing the pod seems to have fixed this issue for me.