spatie / laravel-tags

Add tags and taggable behaviour to your Laravel app

Home Page:https://freek.dev/609-an-opinionated-tagging-package-for-laravel-apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem updating my laravel composer

yabasha opened this issue · comments

After I installed laravel-tags, and nova-tags-field on laravel 8 I start receiveing the follwoing error when I run composer update

I'm using Composer v2.0.2

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires spatie/laravel-tags ^3.0, it is satisfiable by spatie/laravel-tags[3.0.0] from lock repo but spatie/laravel-tags[dev-master, dev-analysis-zDM3Jg, v1.x-dev, v2.x-dev] from composer repo (https://repo.packagist.org) has higher repository priority. The packages with higher priority do not match your constraint and are therefore not installable. See https://getcomposer.org/repoprio for details and assistance.
  Problem 2
    - spatie/nova-tags-field[3.0.0, ..., 3.0.1] require spatie/laravel-tags ^2.3 -> found spatie/laravel-tags[v2.x-dev] but it conflicts with your root composer.json require (^3.0).
    - spatie/nova-tags-field[3.0.2, ..., 3.0.4] require spatie/laravel-tags ^2.3|^3.0 -> found spatie/laravel-tags[v2.x-dev] but it conflicts with your root composer.json require (^3.0).
    - Root composer.json requires spatie/nova-tags-field ^3.0 -> satisfiable by spatie/nova-tags-field[3.0.0, ..., 3.0.4]

I get this:

Laravel Framework 8.12.0

composer require spatie/laravel-tags
Using version 9999999-dev for spatie/laravel-tags

Our test suite proves that the package can be installed. If you find that the package is in error, submit a PR.