Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

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

Open
diegoaraujolima opened this issue Jan 2, 2020 · 9 comments

Comments

@diegoaraujolima
Copy link

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

@myhamdaoui
Copy link

I got the same error ! any solution

@The0racle
Copy link

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

@ZsZJ
Copy link

ZsZJ commented Apr 21, 2020

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

@myhamdaoui
Copy link

@The0racle Always the same problem even with using link

@jasmeet12
Copy link

same error!

@SmirnovW
Copy link

Hi! The same problem! Please help!

@flogy
Copy link

flogy commented Aug 5, 2020

Same issue here...

@ofostier
Copy link

Same error !
all fix mentionned above don't work

@assertchris
Copy link

assertchris commented Oct 25, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants