gldrenthe89 / nova-string-generator-field

A Laravel Nova field for generating a random string. This can be used for a Text field and for a Password field.
MIT License
5 stars 8 forks source link

Cant install into nova 4 with laravel 10 #9

Closed arturasfrontit closed 1 year ago

arturasfrontit commented 1 year ago
dockeruser@e2fe84719edc:~$ composer require gldrenthe89/nova-string-generator-field
./composer.json has been updated
Running composer update gldrenthe89/nova-string-generator-field
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - gldrenthe89/nova-string-generator-field[v1.0, ..., v1.0.1, v2.0, ..., v2.2] require laravel/nova ~3.0 -> found laravel/nova[v3.0.0, ..., 3.32.0] but it conflicts with your root composer.json require (^4.23).
    - gldrenthe89/nova-string-generator-field[v3.0, ..., v3.0.2] require illuminate/support ^9.0 -> found illuminate/support[v9.0.0, ..., v9.52.7] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires gldrenthe89/nova-string-generator-field * -> satisfiable by gldrenthe89/nova-string-generator-field[v1.0, v1.0.1, v2.0, ..., v2.2, v3.0, v3.0.1, v3.0.2].

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 gldrenthe89/nova-string-generator-field:*" to figure out if any version is installable, or "composer require gldrenthe89/nova-string-generator-field:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
dockeruser@e2fe84719edc:~$ composer require gldrenthe89/nova-string-generator-field -W
./composer.json has been updated
Running composer update gldrenthe89/nova-string-generator-field --with-all-dependencies
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - gldrenthe89/nova-string-generator-field[v1.0, ..., v1.0.1, v2.0, ..., v2.2] require laravel/nova ~3.0 -> found laravel/nova[v3.0.0, ..., 3.32.0] but it conflicts with your root composer.json require (^4.23).
    - gldrenthe89/nova-string-generator-field[v3.0, ..., v3.0.2] require illuminate/support ^9.0 -> found illuminate/support[v9.0.0, ..., v9.52.7] but these were not loaded, likely because it conflicts with another require.
    - Root composer.json requires gldrenthe89/nova-string-generator-field * -> satisfiable by gldrenthe89/nova-string-generator-field[v1.0, v1.0.1, v2.0, ..., v2.2, v3.0, v3.0.1, v3.0.2].

You can also try re-running composer require with an explicit version constraint, e.g. "composer require gldrenthe89/nova-string-generator-field:*" to figure out if any version is installable, or "composer require gldrenthe89/nova-string-generator-field:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
dockeruser@e2fe84719edc:~$ 
gldrenthe89 commented 1 year ago

Composer errors are not issues with the package itself

arturasfrontit commented 1 year ago

Composer errors are not issues with the package itself

Package is not supporting laravel 10 with nova 4. Is it composer problem? No

gldrenthe89 commented 1 year ago

You are free to create a PR for it to make it compatible with Laravel 10. It is Nova 4 compatible but not yet Laravel 10,

arturasfrontit commented 1 year ago

You are free to create a PR for it to make it compatible with Laravel 10. It is Nova 4 compatible but not yet Laravel 10,

8