Open META-DREAMER opened 7 years ago
Hi @hammadj. I can't reproduce the error on a fresh project. You can try this first:
node_modules
folder & reinstall modules: rm -rf node_modules && npm install
watchman watch-del-all
node_modules/react-native/packager/packager.sh --reset-cache
If that doesn't solve it, can you post the list of modules that you use from the package.json
file?
Could be related to this? https://github.com/facebook/react-native/issues/13390
"react-test-renderer": "16.0.0-alpha.12", solved my problem
i have "react-test-renderer": "16.0.0-alpha.12", in my project it still persists
This issue actually comes from a dep currently talked about at https://github.com/RealOrangeOne/react-native-mock/issues/141. There is hope https://github.com/RealOrangeOne/react-native-mock/pull/151 will fix it
did someone actually find a fix for this ?
Adding react-dom solved this problem for me.
Actually installing "react-dom": "^16.3.2", resolved the problem!
Trying to use this in my react native project, get the following error: