-
-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Open
Labels
Description
Is this a bug report?
Yes, I am getting an eslint preflight check error hen I don't think I should be.
Did you try recovering your dependencies?
Yes, I've tried deleting the package-lock and rebuilt some stuff, but this issue seems pretty clearcut
Which terms did you search for in User Guide?
I searched for eslint there and in the issues but this is for the new release and I dont' think thats updated yet
Environment
(paste the output of the command here)
Steps to Reproduce
To reproduce
create-react-app craeslint
cd craeslint
npm install [email protected]
I get the following. I don't think this is correct - a difference in patch version shouldn't cause the preflight check to fail, should it? (Also react-scripts should probably update their eslint version)
> [email protected] test /Users/gmauer/code/craeslint
> react-scripts test
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:
"eslint": "5.6.0"
Don't try to install it manually: your package manager does it automatically.
However, a different version of eslint was detected higher up in the tree:
/Users/gmauer/code/craeslint/node_modules/eslint (version: 5.6.1)
Expected Behavior
tests run fine - there is only a difference in patch level of eslint
Actual Behavior
I get the following
> [email protected] test /Users/gmauer/code/craeslint
> react-scripts test
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:
"eslint": "5.6.0"
Don't try to install it manually: your package manager does it automatically.
However, a different version of eslint was detected higher up in the tree:
/Users/gmauer/code/craeslint/node_modules/eslint (version: 5.6.1)
likeuwill, hollygirouard, crobinson42, piotr-cz, cdfa and 19 more