This error occurs when importing configuration.
Solution
There is something wrong with the dependencies of something you want to install. Are you importing config from a custom module? Make sure to add the correct dependencies. Example
name: offer
type: module
description: offer entity
core: 8.x
core_version_requirement: ^8 || ^9
dependencies:
- drupal:views
- drupal:workflows