Skip to content
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/ReactTestUtils" - react@15.4.0 #42

Open
luisrudge opened this issue Nov 22, 2016 · 6 comments
Open

Cannot find module "react/lib/ReactTestUtils" - react@15.4.0 #42

luisrudge opened this issue Nov 22, 2016 · 6 comments

Comments

@luisrudge
Copy link

Since the update, I'm getting the error Cannot find module "react/lib/ReactTestUtils"

Probably related to this: facebook/react#8314

@zackify
Copy link
Member

zackify commented Nov 23, 2016

Did npm install react-dom --save fix it?

@luisrudge
Copy link
Author

I already have react-dom in my app

@zackify
Copy link
Member

zackify commented Nov 23, 2016

Well nothing in this library pulls from react/lib. So I'm not sure how to help :/

@luisrudge
Copy link
Author

Yeah.. I searched for that as well, but couldn't find anything. I just posted here to see if someone else was having the same issue. It's probably an out of date dependency

@7s4r
Copy link

7s4r commented Nov 28, 2016

Try to update your package react-addons-test-utils to latest. I fixed this error by updating from "^15.1.0" to "^15.4.1". And also "react" to "^15.3.2" & "react-dom" to "^15.4.1".

@activedecay
Copy link

with "react": "15.3.0" ran into this error; it was fixed with "react": "^15.4.1"

ERROR in ./~/react-dom/lib/ReactDOMUnknownPropertyHook.js
Module not found: Error: Can't resolve 'react/lib/ReactComponentTreeHook' in '/home/jfaust/Documents/hack/react-boilerplate/node_modules/react-dom/lib'
 @ ./~/react-dom/lib/ReactDOMUnknownPropertyHook.js 15:29-72

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

No branches or pull requests

4 participants