composer create-project fails #17687
-
I am trying to initialize a fresh Pimcore 2024.3 project but the composer create-project fails. I doesn't matter if I use ddev composer create or composer create-project directly. I tried it on multiple system with linux and macOS. I followed the steps listed on the skeletons github page (https://github.com/pimcore/skeleton) and the steps listed on the ddev page (https://ddev.readthedocs.io/en/stable/users/quickstart/#pimcore). I've been using Pimcore as a dev for 3 years now and never encountered this behavior before. I also tried installing it via 'composer require pimcore/skeleton' and calling 'composer install' directly inside of a container which sort of worked. The issue for that instance is that I can't create data objects in the backend UI because the implementation loader for my class isn't generated. It also look like that the composer package "pimcore/platform-version" is missing. If I try to get it via "composer require pimcore/platform-version" I get the same error as before. Composer version: 2.8.1 | ddev version: v1.23.4 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
just did a |
Beta Was this translation helpful? Give feedback.
Yeah the docker thingy worked. To make it work locally and in ddev we had to change the symfony/runtime version in the composer.json from ^6.2 to ^7.1 and remove the dependencies to "symfony/amqp-messenger": "^6.2" and "symfony/dotenv": "^6.2". Pimcore seems to be working just fine now.