I'm upgrading a project to Symfony 7 and when trying to update the symfony/asset-mapper recipe, I see this error:

The problem is here:
NOTE:
The file composerjson was not updated because it doesn't exist in your app.
Instead of composer.json, it's trying to update the composerjson file.
And this is the diff file generated:
diff --git a/composerjson b/composerjson
index 98dd8cb..1029865 100644
--- a/composerjson
+++ b/composerjson
@@ -118,7 +118,8 @@
"scripts": {
"auto-scripts": {
"cache:clear": "symfony-cmd",
- "assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd"
+ "assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd",
+ "importmap:install": "symfony-cmd"
},
"post-install-cmd": [
"@auto-scripts"
I'm upgrading a project to Symfony 7 and when trying to update the
symfony/asset-mapperrecipe, I see this error:The problem is here:
Instead of
composer.json, it's trying to update thecomposerjsonfile.And this is the diff file generated: