grand-stack / grand-stack-starter

Simple starter project for GRANDstack full stack apps
https://grandstack.io/docs/getting-started-grand-stack-starter.html
Apache License 2.0
504 stars 161 forks source link

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

Open SirPounce opened 3 years ago

SirPounce commented 3 years ago

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 commented 3 years ago

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