chris-ware / nova-breadcrumbs

Breadcrumbs for Laravel Nova
152 stars 44 forks source link

Problems to install with Nova 2.9.2 #68

Closed newtongamajr closed 4 years ago

newtongamajr commented 4 years ago

Hi, I'm updating my Laravel Nova to 2.9.2 and then tried to execute an update which resulted on errors about the version compatibility between nova-breadcrumbs and nova. So, to have success on installing Nova 2.9.2, I removed nova-breadcrumbs and then executed a 'composer update' and then Nova 2.9.2 was successfully installed. My next step was to restore nova-breadcrumbs but I received the same error messages from my previous attempt:

newton@newton-VirtualBox:~/git/laravel/nova/galileo$ composer.phar require chris-ware/nova-breadcrumbs Using version ^1.2 for chris-ware/nova-breadcrumbs ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

Installation failed, reverting ./composer.json to its original content. newton@newton-VirtualBox:~/git/laravel/nova/galileo$ composer.phar require chris-ware/nova-breadcrumbs:1.2.12 ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

Installation failed, reverting ./composer.json to its original content.

I suppose that composer is not checking correctly the version order:

[1.2.0, 1.2.1, 1.2.10, 1.2.11, 1.2.12, 1.2.13, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9]

chris-ware commented 4 years ago

How have you installed Nova? Via the private repo or via local install?

newtongamajr commented 4 years ago

Local Install, Chris...

chris-ware commented 4 years ago

This isn't an issue with this package, but rather using composer with local packages. If you are installing locally, then composer isn't aware of the installed version of Nova, therefore it can't determine which version of this package to install.

Closing this issue as there is nothing further I can assist with at this time.

nilsE commented 4 years ago

sorry - i ran into the same problem. how can this be fixed?

thanks, nils

chris-ware commented 4 years ago

By using the private packagist details that Nova supplies you with. That is the only way composer can determine the version of Nova that is installed.

nilsE commented 4 years ago

@chris-ware ok, thanks, changed it to composer