Closed planeiii-te closed 1 year ago
As you can see under your "Environment" section, you have duplicate installations of the @backstage/backend-tasks
package, of incompatible versions. You may want to do yarn why @backstage/backend-tasks
and see why that is. Make sure to use yarn backstage-cli versions:bump
when you perform upgrades, to try to avoid those situations.
It was the result of installing plugins that referenced other versions. Thank you.
yarn why @backstage/backend-tasks
β backstage git:(main) yarn why @backstage/backend-tasks
yarn why v1.22.19
[1/4] π€ Why do we have the module "@backstage/backend-tasks"...?
[2/4] π Initialising dependency graph...
[3/4] π Finding dependency...
[4/4] π‘ Calculating file sizes...
=> Found "@backstage/backend-tasks@0.3.7"
info Has been hoisted to "@backstage/backend-tasks"
info Reasons this module exists
- "workspace-aggregator-e57afcdc-90bc-458f-92cc-2edede20285c" depends on it
- Hoisted from "_project_#backend#@backstage#backend-tasks"
- Hoisted from "_project_#backend#@backstage#plugin-catalog-backend-module-github#@backstage#backend-tasks"
- Hoisted from "_project_#backend#@backstage#plugin-catalog-backend-module-github#@backstage#backend-plugin-api#@backstage#backend-tasks"
info Disk size without dependencies: "836KB"
info Disk size with unique dependencies: "17.12MB"
info Disk size with transitive dependencies: "836KB"
info Number of shared dependencies: 309
=> Found "@backstage/backend-plugin-api#@backstage/backend-tasks@0.4.3"
info This module exists because "_project_#@backstage#backend-plugin-api" depends on it.
info Disk size without dependencies: "160KB"
info Disk size with unique dependencies: "16.4MB"
info Disk size with transitive dependencies: "160KB"
info Number of shared dependencies: 309
=> Found "@backstage/plugin-scaffolder-backend#@backstage/backend-tasks@0.4.3"
info This module exists because "_project_#backend#@backstage#plugin-scaffolder-backend" depends on it.
info Disk size without dependencies: "160KB"
info Disk size with unique dependencies: "16.4MB"
info Disk size with transitive dependencies: "160KB"
info Number of shared dependencies: 309
=> Found "@backstage/plugin-search-backend-node#@backstage/backend-tasks@0.4.3"
info This module exists because "_project_#backend#@backstage#plugin-search-backend-node" depends on it.
info Disk size without dependencies: "160KB"
info Disk size with unique dependencies: "16.4MB"
info Disk size with transitive dependencies: "160KB"
info Number of shared dependencies: 309
β¨ Done in 3.92s.
π Description
Dependabot attempted to bump TypeScript from 4.6.4 to 4.9.5. This resulted in type errors from Backstage code when running
tsc
.π Expected behavior
No errors. All types are correctly setup.
π Actual Behavior with Screenshots
π Reproduction steps
yarn upgrade typescript@latest
yarn tsc
π Provide the context for the Bug.
This is the only thing preventing the upgrade of the TypeScript library.
π₯οΈ Your Environment
π Have you spent some time to check if this bug has been raised before?
π’ Have you read the Code of Conduct?
Are you willing to submit PR?
None