Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command "backpack:button" is not defined. #5407

Closed
amigolj opened this issue Dec 20, 2023 · 3 comments
Closed

Command "backpack:button" is not defined. #5407

amigolj opened this issue Dec 20, 2023 · 3 comments
Labels

Comments

@amigolj
Copy link

amigolj commented Dec 20, 2023

Bug report

What I did

Try to create custom button

What I expected to happen

Created custom buttom

What happened

I got next error
image

What I've already tried to fix it

Googled

Is it a bug in the latest version of Backpack?

After I run composer update backpack/crud the bug... is it still there?
Yeah

Backpack, Laravel, PHP, DB version

When I run php artisan backpack:version the output is:

PHP VERSION:

PHP 8.2.13 (cli) (built: Nov 23 2023 17:19:20) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.13, Copyright (c) Zend Technologies

LARAVEL VERSION:

10.26.2.0

BACKPACK PACKAGE VERSIONS:

backpack/basset: 1.2.2
backpack/crud: 6.4.2
backpack/pro: 2.0.20
backpack/theme-tabler: 1.1.2

@smart4you
Copy link

Hi, I had a similar problem due to missing package "backpack/generators". I just installed it manually and the missing console commands appeared

@jcastroa87
Copy link
Member

jcastroa87 commented Dec 23, 2023

Hi @amigolj i noticed you are working on a server.

Did you active the production mode or install packages as

composer install --no-dev

Maybe that is why you don't install "generators" from the start.

Cheers.

@smart4you
Copy link

Hi, I didn’t open this ticket or issue, it was done by the user @amigolj. I just wrote a comment that I had a similar problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

3 participants