Closed markocupic closed 2 years ago
May be repository paths that point to vendor/
aren't supported. Presumably the path you defined (vendor/markocupic/contao-test-bundle
) is already the path that composer would install the package to. This is fine for initial development of a bundle but probably not recommended for a productive setup.
Hi Fritz Development would be the usecase. ;-) See the dev documentation: https://docs.contao.org/dev/getting-started/extension/#installation
"When running a composer update, Composer will now symlink the given path into the vendor directory of the Contao 4 installation and everything is ready to go. You can now continue developing within vendor/somevendor/contao-example-bundle."
Yes, it should work when you use composer and not the Cloud Resolver via the Contao Manager.
Yes, I noticed that too.
I wonder if this is actually a cloud issue @Toflar? Since we convert the repository paths, maybe the cloud cannot have a dependency in /vendor
?
There's a lot of maybes in this world. If you can provide a log of what exactly is sent to the cloud, we can start reproducing and find the bug (if any).
Here's the JSON I get when adding the package locally and retrieving the cloud data: 2022-03-04T091654.200.json.txt
I tested this again with Contao Manager in version 1.5.0 and Contao 4.13. The problem no longer occurs.
I'm sorry that I'm only realizing it now. Thanks to Composer's speed update, I was no longer dependent on the Contao Manager.
Hallo Beim Versuch mit dem Manager ein lokales Bundle zu installieren (composer.json: repositories->path), kommt es zu folgender Fehlermeldung. Die Fehlermeldung tritt nur im Manager auf. Ein
php composer update
, ausgeführt auf der Konsole, läuft sauber ohne Fehler durch.root composer.json:
Auszug composer.json des zu installierenden Bundles: