Yesterday I updated symfony/asset-mapper to version 7.0.4 and received the following error:
An exception has been thrown during the rendering of a template ("Symfony\Component\AssetMapper\Compiler\JavaScriptImportPathCompiler::compile(): Return value must be of type string, null returned").
It occurs from this line in one of my twig templates (and other similar importmap() calls in other templates.
Symfony version(s) affected
7.0.4
Description
Yesterday I updated
symfony/asset-mapper
to version 7.0.4 and received the following error:It occurs from this line in one of my twig templates (and other similar
importmap()
calls in other templates.For now I've rolled back to
symfony/asset-mapper
7.0.2.How to reproduce
Updated
symfony/asset-mapper
to 7.0.4Possible Solution
No response
Additional Context
No response