You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running into an error each time i create a new Symfony 7.3 project with AssetMapper and Api Platform. When running the asset-map:compile command
It seems that the asset mapper is trying to import a file that is coming from a commented part of the graphiql.min.js file that is not supposed to be imported.
I might be doing something wrong but i have never encountered this issue before version 7.3 of Symfony.
How to reproduce
Create a new project
symfony new my_project_directory --version="7.3.x-dev" --webapp
Install Api Platform
composer require api
Compile your assets
php bin/console asset-map:compile
Possible Solution
For now i just delete the comment related to the issue directly inside the minified javascript code but there might be an underlying issue on how the comment is handled.
Additional Context
In JavaScriptImportPathCompiler.php line 144:
Unable to find asset "./path/to/domAnimations" imported from "vendor\api-platform\core\src\Symfony\Bundle\Resources\public\graphiql\graphiql.min.js".
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Symfony version(s) affected
7.3.0
Description
I am running into an error each time i create a new Symfony 7.3 project with AssetMapper and Api Platform. When running the
asset-map:compile
commandIt seems that the asset mapper is trying to import a file that is coming from a commented part of the graphiql.min.js file that is not supposed to be imported.
I might be doing something wrong but i have never encountered this issue before version 7.3 of Symfony.
How to reproduce
Create a new project
symfony new my_project_directory --version="7.3.x-dev" --webapp
Install Api Platform
composer require api
Compile your assets
php bin/console asset-map:compile
Possible Solution
For now i just delete the comment related to the issue directly inside the minified javascript code but there might be an underlying issue on how the comment is handled.
Additional Context
In JavaScriptImportPathCompiler.php line 144:
Unable to find asset "./path/to/domAnimations" imported from "vendor\api-platform\core\src\Symfony\Bundle\Resources\public\graphiql\graphiql.min.js".
The text was updated successfully, but these errors were encountered: