jeroennoten / Laravel-AdminLTE

Easy AdminLTE integration with Laravel
MIT License
3.81k stars 1.08k forks source link

Issue with 'php artisan adminlte:install' #413

Closed adriancampanaro closed 4 years ago

adriancampanaro commented 4 years ago

I ran the following command

php artisan adminlte:install and got error "There are no commands defined in the "adminlte" namespace."

NicolasDepoilly commented 4 years ago

I ve got same issue on laravel 6.2, I might need help here too!

resslinger commented 4 years ago

Which project version is used?

adriancampanaro commented 4 years ago

first I created new project.. Installing laravel/laravel (v6.4.0)

What I did to get it working is change Laravel version composer create-project laravel/laravel adminLte60 6.0.*

REJack commented 4 years ago

Please post your composer.json content, this can give us more informations 😄

brunnoandrade commented 4 years ago

I have the same problem. =(

parbhez commented 4 years ago

I got the same problem when i am using laravel version 6.2. "There are no commands defined in the "adminlte" namespace."

tlcode1001 commented 4 years ago

I got same problem in laravel 5.8

REJack commented 4 years ago

@brunnoandrade @parbhez Please post your composer.json content

@superelite123 Laravel-AdminLTE v3 (adminlte:install) will work only with Laravel 6.x+.

MascHman commented 4 years ago

HI @REJack I've got the same Problem. Can you give me any suggestion what to do ?

This is the contents of my composer.json file:

{ "name": "laravel/laravel", "type": "project", "description": "The Laravel Framework.", "keywords": [ "framework", "laravel" ], "license": "MIT", "require": { "php": "^7.1.3", "doctrine/dbal": "^2.10", "fideloper/proxy": "^4.0", "jeroennoten/laravel-adminlte": "^1.25", "laravel/framework": "5.8.*", "laravel/tinker": "^1.0", "laravelcollective/html": "^5.8", "yajra/laravel-datatables-oracle": "~9.0" }, "require-dev": { "beyondcode/laravel-dump-server": "^1.0", "filp/whoops": "^2.0", "fzaninotto/faker": "^1.4", "laravel/telescope": "^2.0", "mockery/mockery": "^1.0", "nunomaduro/collision": "^3.0", "phpunit/phpunit": "^7.5", "xethron/migrations-generator": "^2.0" }, "config": { "optimize-autoloader": true, "preferred-install": "dist", "sort-packages": true }, "extra": { "laravel": { "dont-discover": [] } }, "autoload": { "psr-4": { "App\": "app/" }, "classmap": [ "database/seeds", "database/factories" ] }, "autoload-dev": { "psr-4": { "Tests\": "tests/" } }, "minimum-stability": "dev", "prefer-stable": true, "scripts": { "post-autoload-dump": [ "Illuminate\Foundation\ComposerScripts::postAutoloadDump", "@php artisan package:discover --ansi" ], "post-root-package-install": [ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], "post-create-project-cmd": [ "@php artisan key:generate --ansi" ] } }

REJack commented 4 years ago

@MascHman The adminlte:install command is only available in v2 & v3 not in v1.

miguelnunorosa commented 4 years ago

First run "composer require..." insido of your laravel project. After run "php artisan adminlte:install"

Apfelwurm commented 3 months ago

for all that experiencing that issue, you might want to clear your bootstrap/cache folder :)