enzyme-adapter-react-17
enzyme-adapter-react-17 copied to clipboard
Conflicting peer dependency `react@"^17.0.0-0"`
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react
npm ERR! peer react@"^17.0.0-0" from @wojtekmaj/[email protected]
npm ERR! node_modules/@wojtekmaj/enzyme-adapter-react-17
npm ERR! dev @wojtekmaj/enzyme-adapter-react-17@"^0.6.7" from the root project
$ node --version
v18.0.0
$ npm --version
8.6.0
My guess is that this is happening due to the -0
on ^17.0.0-0
. Can that be dropped?
That should be a perfectly valid version as per NPM's own tooling.
Which version or React are you using?