When running composer install
or composer update
during the upgrade process from TYPO3 v10 to v11 I face the following error messages:
sh: 1: typo3cms: not found
or
Der Befehl "typo3cms" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
followed by
Script typo3cms install:fixfolderstructure handling the typo3-cms-scripts event returned with error code 1
Script @typo3-cms-scripts was called via post-autoload-dump
In my commposer.json
I have those lines, triggering the scripts:
"scripts":{
"typo3-cms-scripts": [
"typo3cms install:fixfolderstructure"
],
"post-autoload-dump": [
"@typo3-cms-scripts"
]
},
What is going wrong here?
After adding the TYPO3 Console the error disappeared.
composer require helhum/typo3-console:*