PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, January 10, 2022

[FIXED] Composer failure when installing Laravel 5.8 + Voyager

 January 10, 2022     composer-php, laravel, laravel-5.8, voyager     No comments   

Issue

I installed laravel 5.8, and then i did composer require tcg/voyager:1.3.2. I didn't used composer require tcg/voyager cause apparently it doesn't supports laravel 5.8. However it keeps failling and throwing this problem:

Problem 1
    - Can only install one of: league/flysystem[1.1.3, 1.0.x-dev].
    - Can only install one of: league/flysystem[1.0.x-dev, 1.1.3].
    - Can only install one of: league/flysystem[1.0.x-dev, 1.1.3].
    - tcg/voyager v1.3.2 requires league/flysystem ~1.0.41 -> satisfiable by league/flysystem[1.0.x-dev].
    - Installation request for tcg/voyager 1.3.2 -> satisfiable by tcg/voyager[v1.3.2].
    - Installation request for league/flysystem 1.1.3 -> satisfiable by league/flysystem[1.1.3].

I tried first installing composer require league/flysystem:1.1.3 before voyager but still it fails with the same error. Am at the lost here.


Solution

Have you checked whether league/flysystem has been installed before? According to that error message it is installed in v1.1.3, while tcg/voyager requires v1.0.* - this is not compatible.

v1.1 of the flysystem is pretty new, and only the current dev branches of Voyager contain fixes for this.

To resolve this situation, you could run composer require league/flysystem:"~1.0.41"



Answered By - Nico Haase
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing