Closed
Description
Is this a bug report?
YES
Did you try recovering your dependencies?
YES
yarn 1.5.1
Which terms did you search for in User Guide?
Environment
node -v
: 8.9.3npm -v
:yarn --version
(if you use Yarn): 1.5.1npm ls react-scripts
(if you haven’t ejected): 2.0.0-next.b2fd8db8
Then, specify:
- Operating system: macOS
- Browser and version (if relevant): Chrome
Steps to Reproduce
(Write your steps here:)
Create app1 (express) with devdependencies:
"devDependencies": {
"babel-jest": "22.4.3",
"eslint": "4.19.1",
"jest": "22.4.3"
},
Create app2 (CRA)
Expected Behavior
yarn start succeeds
Actual Behavior
There might be a problem with the project dependency tree.
It is likely not a bug in Create React App, but something you need to fix locally.
The react-scripts package provided by Create React App requires a dependency:
"jest": "22.1.2"
Don't try to install it manually: your package manager does it automatically.
However, a different version of jest was detected higher up in the tree:
root/node_modules/jest (version: 22.4.3)