Build fails on Ubuntu under Windows WSL
Opened this issue · 0 comments
brad@Brad-X1Yoga:~/stacks/todos$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: todos@0.2.0
npm ERR! Found: react-dom@16.14.0
npm ERR! node_modules/react-dom
npm ERR! react-dom@"^16.13.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-dom@"^15.4.2" from react-addons-test-utils@15.6.2
npm ERR! node_modules/react-addons-test-utils
npm ERR! dev react-addons-test-utils@"^15.6.2" from the root project**
brad@Brad-X1Yoga:/stacks/todos$ npm --version/stacks/todos$ node --version
7.5.1
brad@Brad-X1Yoga:
v15.8.0
brad@Brad-X1Yoga:~/stacks/todos$ uname -a
Linux Brad-X1Yoga 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
I was able to "fix" this by removing
"react-addons-test-utils": "^15.6.2"
from devDependencies in package.json