Hi Everyone, Hope you all doing good.I am newbie for lumen as i have to create api's for a mobile app i tried using lumen but while running command "composer require flipbox/lumen-generator" inside lumen project directory getting these error.Kindly help me out -- Heartily appreciated.
Problem 1 - Root composer.json requires flipbox/lumen-generator ^8.2 -> satisfiable by flipbox/lumen-generator[8.2.0, 8.2.1, 8.2.2]. - flipbox/lumen-generator[8.2.0, ..., 8.2.2] require illuminate/support ^5.5|^6.0|^7.0|^8.0|^8.17 -> found illuminate/support[v5.5.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require flipbox/lumen-generator:*" to figure out if any version is installable, or "composer require flipbox/lumen-generator:^2.1" if you know which you need.
I tried the suggestion given above but nothing works.
Hello @arvind-thakur what is the lumen version you work with? If your project is new you probably use version 9 (that is a good idea to start with).
I see that version 9 isn't yet supported by the package you want to use. (see: https://github.com/flipboxstudio/lumen-generator/issues/114 )
Maybe you can help with creating a PR that adds ^9.0 to the different illuminate packages in https://github.com/flipboxstudio/lumen-generator/blob/develop/composer.json (I don't know if you know it, the illuminate packages are the core Laravel packages)
Thanks@tvbeek . I switched to version 8.* and its working fine now. Thanks again bro.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community