BRACKETS-by-TRIAD / craftable

Admin panel builder / CRUD generator for Laravel.
https://getcraftable.com
MIT License
984 stars 191 forks source link

ERROR : Can't install at all #404

Closed DaBourz closed 2 years ago

DaBourz commented 2 years ago

Tried Craftable, no way to install it, never works. PHP8 Laravel9 on 2 different machines, fresh install, fresh Laravel 9, tried with the installer, manual install, never worked, had a lot of different errors, from crash, hang, dependencies, sail not sail ? etc ???? did someone tested this ?

palypster commented 2 years ago

I'm sad for your poor experience with installing Craftable.

If you still want to give it a shot, please attach the error output (let's not mix all different approaches, choose one way and let's debug it).

DaBourz commented 2 years ago

Annotation 2022-09-28 145541

DaBourz commented 2 years ago

C:\xampp80\htdocs\my_project>craftable install --no-sail Crafting Craftable :) ... Aborted.

palypster commented 2 years ago

Have you tried to read this thread?

https://github.com/BRACKETS-by-TRIAD/craftable/issues/331

DaBourz commented 2 years ago

Yep, the manual install also fails... It doesn't support Laravel 8 anymore, supporting 9 apparatly broke the L8 version. So it is only Laravel 9 from now on. But manual install fails also....

DaBourz commented 2 years ago

composer create-project laravel/laravel example-app cd example-app composer require brackets/craftable

Annotation 2022-09-28 150459

DaBourz commented 2 years ago

Looks like it's this :

https://pullanswer.com/questions/bug-compatible-error-with-psr-simplecache-cacheinterface-get

You probably need to change the MaatWebSite\Excel lib version.....

strstensky commented 2 years ago

This issue is connected with the maatwebsite/excel package. It requires psr/simple-cache 1.0, however, Laravel 9 installs the newest version. Therefore you have to downgrade psr/simple-cache manually before Craftable installation using composer require psr/simple-cache:^1.0.

palypster commented 2 years ago

Installing Craftable using standard way, via installer, should work and I can confirm it works on our environment (using Sail). So it has something to do with the platform (Windows) you're using. Try installing it on a linux server.

@DaBourz what @stringsam has said is true when installing it manual way (means first installing empty Laravel app and then requiring craftable) - you need to downgrade the psr/simple-cache before installing. Please try it and let us know.