0

I am using gatsby (5.12.3). I found that it has a dependency on "@typescript-eslint/eslint-plugin": "^5.60.1" and "eslint-config-react-app": "^6.0.0",

The "eslint-config-react-app" has a dependency on "@typescript-eslint/eslint-plugin": "^4.0.0"

The latest "@typescript-eslint/eslint-plugin" is "^6.4.1"

So I am getting the "conflicting peer dependency". It works only if i use --legacy-peer-dep

gatsby (5.12.3)
--- "@typescript-eslint/eslint-plugin": "^5.60.1",
--- "eslint-config-react-app": "^6.0.0",
   --- "@typescript-eslint/eslint-plugin": "^4.0.0",
Michael Sync
  • 4,834
  • 10
  • 40
  • 58

0 Answers0