The X entity type does not exist In EntityTypeManager.php line 150

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

 

Saved you some valuable time?

Buy me a drink 🍺 to keep me motivated to create free content like this!