Skip to content

AssetMapper lodash (and potentially other libs) install problem #54140

@zatorck

Description

@zatorck

Symfony version(s) affected

6.4.3

Description

Hello

I've installed lodash via AssetMapper component but it gets 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").

image

How to reproduce

Reprouction is very simple on new project use php bin/console importmap:require lodash

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions