0

I did a fresh Laravel 6.0.3 install on laragon and I am trying to install backpack.
I did

composer require backpack/crud correclty

but then when I tried to do the next step

php artisan backpack:base:install

I get an error

Symfony\Component\Process\Exception\ProcessFailedException : The command "composer require backpack/generators --dev" failed. Exit Code: 2(Misuse of shell builtins)

I tried to delete the cache, to add timeout 600 and I do not know what else to do.

Carlos Cavero
  • 3,011
  • 5
  • 21
  • 41

2 Answers2

3

There was indeed a problem with installing backpack/generators - composer did not fall back to an appropriate version, but it is now fixed. You should be able to run php artisan backpack:base:install without problems.

If you hit any roadblocks during the installation, I recommend you follow the manual installation procedure, instead of php artisan backpack:base:install.

tabacitu
  • 6,047
  • 1
  • 23
  • 37
0

Backpack v3.4 is a collection of packages for Laravel 5.5 / 5.6.

Right under requirement in Backpack.io it says it requires laravel 5.5 or 5.6 and PHP7.

It's not compatible with laravel 6.*

N69S
  • 16,110
  • 3
  • 22
  • 36
  • You sure? [take a look](https://github.com/Laravel-Backpack/Base/blob/master/composer.json#L21) – Salim Djerbouh Sep 13 '19 at 14:34
  • Looks like they created a [new website](https://backpackforlaravel.com/docs/4.0/introduction) – Adam Rodriguez Sep 13 '19 at 15:36
  • @adam yop seems so. – N69S Sep 13 '19 at 15:37
  • 2
    Ugh. Can't believe that old docs on readme.io are still catching and confusing users. Indeed, we've been rolling our own docs for 2 years I think. Just deleted the readme.io page for good. I hope Google will send people to the right place now. All our links point to the "new" docs, it was just Google that kept thinking highly of the old docs. – tabacitu Sep 14 '19 at 03:07