[email protected] requires a peer of react-dom@^15.4.2 but none is installed

Created on 5 Mar 2018  路  1Comment  路  Source: facebook/react

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)

Most helpful comment

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

>All comments

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

Was this page helpful?
0 / 5 - 0 ratings