Minimal Theme install?
Hi,
I just preorderd the Minimal Theme.
When i want to install after i added to composer.json
and executed the following command
i get following error
How can i solve this problem?
Is it also possible to get Github Repo acces?
Thanks
17 Replies
Solution
What is your
minimum-stability
in your composer.json
?@rubenvanerk thanks, it is stable and not alpha like the pakacge is.
Hey @Tieme (and @rubenvanerk), the
minimum-stability
setting can just be stable
, since you're explicitly requiring the alpha version of the theme package.
Could you try running composer update
first to make sure you're on the latest version of Filament before adding the Minimal Theme to your composer.json
file?
Currently there's no GitHub repo access. Could you tell me what you'd want access for? 🙂Hi Zep,
I have updates to the latest version of filament
- Laravel : 10.38.1
- PHP: 8.1.6
- Filament: 3.1.24
still got the same error message.
Here is my composer.json
https://gist.github.com/sitenzo/c4cc0c6df4bc5b4289bc081cad7e4a42
Hmm, weird... Did setting
minimum-stability
to alpha
fix it for you?@Zep Fietje if i change "minimum-stability": "alpha", still the same problem.
Interesting... I can't reproduce, so could you provide me with your
composer.lock
file? Allows me to dig a little deeper@Zep Fietje Here is a base filament composer with the lockfile where i have the same issue.
https://gist.github.com/sitenzo/ba0569ba882ab999eec953117b5b4fae
Gist
Minimal Theme (composer.json)
Minimal Theme (composer.json). GitHub Gist: instantly share code, notes, and snippets.
That composer.lock file shows version
v3.1.0
of Filament's packages is installed
Could you run composer update
first before installing the Minimal Theme?
Since it requires version 3.1.14
of Filament
Could you provide the composer.lock of this project? Because you said you actually have 3.1.24
installed there..? 🤔@Zep Fietje Sorry for the late response, in following Repo / Branch are the composer.json/.lock file
https://github.com/sitenzo/FilamentGlobalSettings/tree/testing-minimal-theme
I'm installing it locally on PHPStorm CLI with
- PHP 8.1.6
- Composer version 2.5.7
This is the complete error message i get when executing following command
GitHub
GitHub - sitenzo/FilamentGlobalSettings at testing-minimal-theme
Contribute to sitenzo/FilamentGlobalSettings development by creating an account on GitHub.
Thanks for sharing the repo, @Tieme.
I just cloned it, ran
composer install
, and followed the first two installation steps of the theme package without any issues: https://filamentphp.com/plugins/filament-minimal-theme#installation-1Filament
Minimal Theme by Filament - Filament
Featuring a clean design with less rounding, a lighter background and redesigned UI components.
@Zep Fietje its a local issue then, i have no idee where to look.
Thanks for all the help and checking things for me.
Are you able to reproduce the issue in a fresh project with minimal customizations?
That was the repo you had, only added a testResource and custom theme
I doubt it makes any difference, but could you try skipping those steps and just installing the package into a new project that requires
filament/filament
?@Zep Fietje did not yet had the time to do this, but have some kind of workaround that works.
Just added
"filament/minimal-theme": "^3.0@alpha"
to the require
in my composer.json and dit not get any errors.
Don't know why but it works for now.That's exactly what
composer require
should do for you, right? 😂
Weird, but glad it works now!
By the way, you can change alpha to beta now 🙂