TYPO3 / CmsComposerInstallers

TYPO3 CMS Composer Installer
GNU General Public License v2.0
58 stars 39 forks source link

1.4.1 upgrade with error message #67

Closed antoineverger closed 7 years ago

antoineverger commented 7 years ago

Hi dear commiters of CmsComposerInstallers,

when upgrading your library on my installation on MacOS, I got the following error message :

- Updating typo3/cms-composer-installers (1.3.1 => 1.4.1): Downloading (100%)
Writing lock file
Generating autoload files

  [Symfony\Component\Debug\Exception\FatalThrowableError]
  Class 'TYPO3\CMS\Composer\Plugin\Core\AutoloadConnector' not found

I can provide more infos if required !

Best regards,

Antoine

thommyhh commented 7 years ago

I have experience the same problem. I think it might be, that the class just has been removed. On my MacOS with the default PHP version, 1.4.* does not work anyway, because it needs PHP 7.

Which version do you have?

mbrodala commented 7 years ago

I'd assume it's the same issue as #55 back then. There is no real solution aside from running the same command again.

helhum commented 7 years ago

Yes, same issue. sorry for that. I'll try to mitigate that in 1.4.2

helhum commented 7 years ago

On my MacOS with the default PHP version, 1.4.* does not work anyway, because it needs PHP 7.

composer does not allow you to upgrade to this version, if your PHP version does not match.

You can add https://getcomposer.org/doc/06-config.md#platform to your composer.json, if you want to enforce a certain PHP version for your project

thommyhh commented 7 years ago

I need to use "--ignore-platform-reqs" to install TYPO3 CMS 8 locally on my mac for usage in the IDE. So this check is unfortunately disabled. I know, that this is my own problem. ;-)

helhum commented 7 years ago

You can also enforce the older version of the installers by doing composer req typo3/cms-composer-installers ~1.3.0 for your package

thommyhh commented 7 years ago

Thank you. That's exactly what I did. So this was the right choice, except upgrading PHP on my mac and having the same problem with older projects the other way round. ;-)

antoineverger commented 7 years ago

Thanks guys, I enforced a lower version and it´s OK now. @helhum do you want me to close the issue or keep it open as a reminder ?

helhum commented 7 years ago

With released version 1.4.2, upgrade from 1.3.x should be smooth (PHP 7 requirement aside of course)