-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find module 'react/lib/ReactComponentTreeHook' #1
Comments
Hi @HammadJ. I can't reproduce the error on a fresh project. You can try this first:
If that doesn't solve it, can you post the list of modules that you use from the |
Could be related to this? facebook/react-native#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 RealOrangeOne/react-native-mock#141. There is hope RealOrangeOne/react-native-mock#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:
The text was updated successfully, but these errors were encountered: