-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to install graphviz on Laravel Sail #113
Comments
This worked for me. |
On Fri, 2024-05-03 at 07:37 -0700, Romek wrote:
sail composer require beyondcode/laravel-er-diagram-generator --dev
i use Laravel 11,
could it be that it is a too new Laravel version 11
to work with beyondcode/laravel-er-diagram-generator?
if i do, i get:
./vendor/bin/sail composer require beyondcode/laravel-er-diagram-
generator --dev
./composer.json has been updated
Running composer update beyondcode/laravel-er-diagram-generator
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of
packages.
Problem 1
- doctrine/dbal[v2.5.0, ..., v2.5.2] require doctrine/common
=2.4,<2.6-dev -> satisfiable by doctrine/common[v2.4.0, ..., v2.5.3].
- doctrine/dbal[v2.5.3, ..., v2.5.5] require doctrine/common
=2.4,<2.7-dev -> satisfiable by doctrine/common[v2.4.0, ..., v2.6.2].
- doctrine/dbal[v2.5.6, ..., v2.5.13] require doctrine/common
=2.4,<2.8-dev -> satisfiable by doctrine/common[v2.4.0, ..., v2.7.3].
- doctrine/dbal[v2.4.0, ..., v2.4.5] require doctrine/common ~2.4 ->
satisfiable by doctrine/common[v2.4.0, ..., 2.13.3].
- laravel/framework v11.3.1 requires nesbot/carbon ^2.72.2|^3.0 ->
satisfiable by nesbot/carbon[3.2.4].
- laravel/framework v11.3.1 requires symfony/http-foundation ^7.0 ->
satisfiable by symfony/http-foundation[v7.0.6].
- beyondcode/laravel-er-diagram-generator[0.1.0, ..., 0.2.3, 1.0.0,
..., 1.5.0] require php ^7.1 -> your php version (8.3.4) does not
satisfy that requirement.
- doctrine/common[v2.9.0, ..., 2.13.0] require php ^7.1 -> your php
version (8.3.4) does not satisfy that requirement.
- doctrine/dbal[v2.6.0, ..., v2.9.3] require php ^7.1 -> your php
version (8.3.4) does not satisfy that requirement.
- beyondcode/laravel-er-diagram-generator 2.0.0 requires nikic/php-
parser ^2.0|^3.0|^4.0 -> found nikic/php-parser[v2.0.0, v2.0.1, v2.1.0,
v2.1.1, v3.0.0, ..., v3.1.5, v4.0.0, ..., v4.19.1] but the package is
fixed to v5.0.2 (lock file version) by a partial update and that
version does not match. Make sure you list it as an argument for the
update command.
- doctrine/common[v2.4.0, ..., v2.5.3] require doctrine/inflector 1.* -
found doctrine/inflector[v1.0, ..., 1.4.4] but the package is fixed
to 2.0.10 (lock file version) by a partial update and that version does
not match. Make sure you list it as an argument for the update command.
- doctrine/common[v2.6.0, ..., v2.6.2] require php ~5.5|~7.0 -> your
php version (8.3.4) does not satisfy that requirement.
- doctrine/common[v2.7.0, ..., v2.7.3] require php ~5.6|~7.0 -> your
php version (8.3.4) does not satisfy that requirement.
- doctrine/common[v2.8.0, ..., v2.8.1] require php ~7.1 -> your php
version (8.3.4) does not satisfy that requirement.
- doctrine/common[2.13.1, ..., 2.13.3] require doctrine/inflector ^1.0
-> found doctrine/inflector[v1.0, ..., 1.4.4] but the package is fixed
to 2.0.10 (lock file version) by a partial update and that version does
not match. Make sure you list it as an argument for the update command.
- doctrine/dbal[v2.10.0, ..., 2.10.4] require php ^7.2 -> your php
version (8.3.4) does not satisfy that requirement.
- doctrine/dbal[2.11.0, ..., 2.11.3] require php ^7.3 -> your php
version (8.3.4) does not satisfy that requirement.
- laravel/framework is locked to version v11.3.1 and an update of this
package was not requested.
- carbonphp/carbon-doctrine-types 3.2.0 conflicts with doctrine/dbal
3.8.4.
- beyondcode/laravel-er-diagram-generator 3.0.0 requires doctrine/dbal
~2.3|^3.3 -> satisfiable by doctrine/dbal[2.3.0, ..., 2.13.9, 3.3.0,
..., 3.8.4].
- nesbot/carbon 3.2.4 requires carbonphp/carbon-doctrine-types * ->
satisfiable by carbonphp/carbon-doctrine-types[3.2.0].
- symfony/http-foundation v7.0.6 conflicts with doctrine/dbal 3.5.4.
- symfony/http-foundation v7.0.6 conflicts with doctrine/dbal 3.4.6.
- symfony/http-foundation v7.0.6 conflicts with doctrine/dbal 3.3.8.
- symfony/http-foundation v7.0.6 conflicts with doctrine/dbal 3.3.5.
- symfony/http-foundation v7.0.6 conflicts with doctrine/dbal 2.13.9.
- symfony/http-foundation v7.0.6 conflicts with doctrine/dbal 2.13.8.
- symfony/http-foundation v7.0.6 conflicts with doctrine/dbal 2.13.1.
- symfony/http-foundation v7.0.6 conflicts with doctrine/dbal 2.12.1.
- symfony/http-foundation v7.0.6 conflicts with doctrine/dbal 2.3.5.
- symfony/http-foundation v7.0.6 conflicts with doctrine/dbal 2.3.2.
- Root composer.json requires beyondcode/laravel-er-diagram-generator *
-> satisfiable by beyondcode/laravel-er-diagram-generator[0.1.0, ...,
0.2.3, 1.0.0, ..., 1.5.0, 2.0.0, 3.0.0].
Use the option --with-all-dependencies (-W) to allow upgrades,
downgrades and removals for packages currently locked to specific
versions.
You can also try re-running composer require with an explicit version
constraint, e.g. "composer require beyondcode/laravel-er-diagram-
generator:*" to figure out if any version is installable, or "composer
require beyondcode/laravel-er-diagram-generator:^2.1" if you know which
you need.
Installation failed, reverting ./composer.json and ./composer.lock to
their original content.
$
|
Romek, yes, same issue, Laravel is too new. Can you make a new distribution with these patches to composer.json
and make a new distribution? thanks, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i want to use your pacakge in a Laravel Sail environment.
How do i install graphviz on Laravel Sail?
thanks,
Noud
The text was updated successfully, but these errors were encountered: