kat-kan / kawqa-gad-playwright

4 stars 1 forks source link

[CI/CD] Investigate and fix conflicting dependency #77

Closed bugITwhisperer closed 9 months ago

bugITwhisperer commented 9 months ago

✏️ Description

There's some sort of conflict with eslint libraries on CI: https://github.com/kat-kan/kawqa-gad-playwright/actions/runs/7963281922/job/21738522791 Also, @Justyna-KO and @kat-kan experience the same issue on their side when running the linter locally. On my side the issue is not reproducible.

🚀 Expected Behavior

There should be no issue with running pipeline on CI.

🛑 Current Behavior

There is an issue with running pipeline. During the dependencies installation step there is a following error printed:
npm ERR! Conflicting peer dependency: @typescript-eslint/parser@7.0.2
npm ERR! node_modules/@typescript-eslint/parser
npm ERR!   peer @typescript-eslint/parser@"^7.0.0" from @typescript-eslint/eslint-plugin@7.0.1
npm ERR!   node_modules/@typescript-eslint/eslint-plugin
npm ERR!     dev @typescript-eslint/eslint-plugin@"^7.0.1" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

✅ Problem report checklist