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

react-addons-test-utils@15.6.2 requires a peer of react-dom@^15.4.2 but none is installed #12330

Closed
lsiden opened this Issue Mar 5, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@lsiden

lsiden commented Mar 5, 2018

When I install node_modules from scratch, npm generates the above warning, because React 16.x is now the latest.

I just verified that removing react-addons-test-utils does not alter any tests.

npm 5.7.1
node v8.6.0
possum commit 7f8ae68 (current master)

@gaearon

This comment has been minimized.

Member

gaearon commented Mar 5, 2018

There is no bug here. react-addons-test-utils doesn't exist in React 16. Use react-dom/test-utils instead.

@gaearon gaearon closed this Mar 5, 2018

prehnRA added a commit to revelrylabs/harmonium that referenced this issue Mar 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment