react-native-uuid-generator icon indicating copy to clipboard operation
react-native-uuid-generator copied to clipboard

TypeError: null is not an object (evaluating 'RNUUIDGenerator.getRandomUUID')

Open diegoaraujolima opened this issue 5 years ago • 9 comments

Hello. On execute RNUUIDGenerator.getRandomUUID i got error TypeError: null is not an object (evaluating 'RNUUIDGenerator.getRandomUUID').

diegoaraujolima avatar Jan 02 '20 21:01 diegoaraujolima

I got the same error ! any solution

myhamdaoui avatar Apr 14 '20 15:04 myhamdaoui

Did you link? Try react-native link react-native-uuid-generator or npx react-native link react-native-uuid-generator

The0racle avatar Apr 14 '20 21:04 The0racle

Even after using react-native link command the same error pops up

ZsZJ avatar Apr 21 '20 19:04 ZsZJ

@The0racle Always the same problem even with using link

myhamdaoui avatar Apr 21 '20 19:04 myhamdaoui

same error!

jasmeet12 avatar May 18 '20 00:05 jasmeet12

Hi! The same problem! Please help!

SmirnovW avatar May 24 '20 20:05 SmirnovW

Same issue here...

flogy avatar Aug 05 '20 13:08 flogy

Same error ! all fix mentionned above don't work

ofostier avatar Aug 28 '20 08:08 ofostier

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.

assertchris avatar Oct 25 '20 17:10 assertchris