How to fix «file_put_contents(generated/metadata/primary|global|plugin-list.php): failed to open stream: No such file or directory in lib\internal\Magento\Framework\Interception\PluginListGenerator.php on line 414» in Magento 2.4-develop in Windows?

01

Replace the line:


with the following one:

$cacheId = implode('-', $this->scopePriorityScheme) . "-" . $this->cacheId;

See also: