Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Eslint version issue when running create-grandstack-app using react-ts #144

Open
SirPounce opened this issue May 14, 2021 · 1 comment
Open

Comments

@SirPounce
Copy link

steps to reproduce:

npx create-grandstack-app test
choose to install dependecies
cd test
yarn start

21:27:52 React-TS | The react-scripts package provided by Create React App requires a dependency:
21:27:52 React-TS |
21:27:52 React-TS |   "eslint": "^6.6.0"
21:27:52 React-TS |
21:27:52 React-TS | Don't try to install it manually: your package manager does it automatically.
21:27:52 React-TS | However, a different version of eslint was detected higher up in the tree:
21:27:52 React-TS |
21:27:52 React-TS |   C:\***\test\node_modules\eslint (version: 7.26.0)

running npm ls eslint gives `-- (empty)

Checked node_modules and found an eslint folder with version 7.26.0 present
Simply deleted it
run yarn start again
everything works.

Just thought you might want to know.

@ilyafish
Copy link

Works perfect thanks! Should eslint then be deleted from package.json?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants