CrestApps / laravel-code-generator

An efficient Laravel code generator, saving time by automating the creation of resources such as views, controllers, routes, migrations, languages, and form-requests. Highly flexible and customizable, it includes a cross-browser compatible template and client-side validation for application modernization.
https://laravel-code-generator.crestapps.com
MIT License
738 stars 158 forks source link

Composer update fails #178

Closed jschlies closed 2 years ago

jschlies commented 2 years ago

Before you submit an issue please read this

This repository is only for reporting bugs or issues. If you need support, please use Stack Overflow using laravel-code-generator tag (https://stackoverflow.com/questions/tagged/laravel-code-generator)

Please provide us with details by completing the following requirements. Issues with not enough info are likely to be closed without resolution.

Environment:

vagrant@ubuntu-bionic:/vagrant$ composer update Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1

Steps/Commands To Reproduce:

Content Of The Resource-File:

marco-acorte commented 2 years ago

same problem with Laravel 6.x LTS projects

Environment:

Laravel-Code-Generator Version: 2.4.5 and 2.4.6
Laravel Version: 6.x  LTS (currently 6.20.41)

running

composer why-not crestapps/laravel-code-generator 2.4.6

output

crestapps/laravel-code-generator   v2.4.6      requires  laravel/framework (~5.1)  
acortech/projectname              dev-master  requires  laravel/framework (^6.2)  

running composer update crestapps/laravel-code-generator:2.4.6 -W

output

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

  Problem 1
    - Root composer.json requires crestapps/laravel-code-generator ^2.4, 2.4.6 -> 
      satisfiable by crestapps/laravel-code-generator[v2.4.6].
    - crestapps/laravel-code-generator v2.4.6 requires laravel/framework ~5.1 -> found laravel/framework[v5.1.0, ..., 5.8.x-dev]
      but it conflicts with your root composer.json require (^6.2).
MikeAlhayek commented 2 years ago

Please try running composer update crestapps/laravel-code-generator:2.4.7 now. That should fix the issue.

marco-acorte commented 2 years ago

composer update crestapps/laravel-code-generator

update complete successfully in a laravel 6.x project immagine