-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
dependenciesissues that plan to update dependenciesissues that plan to update dependencies
Description
Bug Description:
I freshly checked out the current codebase and executed npm install. This fails with the following error:
npm error While resolving: @theia/monorepo@0.0.0
npm error Found: eslint@8.57.1
npm error node_modules/eslint
npm error dev eslint@"8" from the root project
npm error
npm error Could not resolve dependency:
npm error peer eslint@"^9 || ^10" from eslint-plugin-no-unsanitized@4.1.5
npm error node_modules/eslint-plugin-no-unsanitized
npm error dev eslint-plugin-no-unsanitized@"latest" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
It seems that with eslint-plugin-no-unsanitized@4.1.5 the support for eslint 8 was removed. I was able to fix it locally by pinning the version
"eslint-plugin-no-unsanitized": "4.1.4",
Steps to Reproduce:
- checkout the theia sources into a fresh workspace or delete the node_modules folder and the package-lock.json from a current workspace
- run
npm install
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
dependenciesissues that plan to update dependenciesissues that plan to update dependencies