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

Hi, I am new with voyager I am installing voyager when I run the php artisan voyager:install command get this error (Symfony\Component\Console\Exception\CommandNotFoundException] There are no commands defined in the "storage" namespace) #48

Closed
Ziaullah-Mommand opened this issue Nov 1, 2016 · 11 comments

Comments

@Ziaullah-Mommand
Copy link

No description provided.

@DanVeira
Copy link

DanVeira commented Nov 1, 2016

Have you added the Voyager service provider as well as the Image Intervention service provider to the config/app.php file in the 'providers' => [ array?

@adriaanzon
Copy link
Contributor

The storage:link command that gets called here was added in Laravel 5.3. Are you using Laravel 5.2 or older?

@ramdrupal7
Copy link

ramdrupal7 commented Nov 2, 2016

i am using 5.2 laravel Adriaanzon , same error i am getting while install voyager.

@mommand
Copy link

mommand commented Nov 2, 2016

I installed the laravel 5.3 but still I have the same problem, and I added the service provider as well.
screen shot 2016-11-02 at 10 59 36 am

And this is the error
screen shot 2016-11-02 at 11 01 37 am

@Jeroen-G
Copy link
Contributor

Jeroen-G commented Nov 2, 2016

  1. Run composer dump
  2. Run artisan --version and see it is 5.3
  3. Run artisan and check if, near the end of the list, a command called storage:link is present.
    If not, something really weird is going on, and likely the installation of the Laravel core failed to install that command.

@debeniter86
Copy link

The same error am getting. My laravel version is 5.2.45

[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "storage" namespace.

@Jeroen-G
Copy link
Contributor

Jeroen-G commented Nov 3, 2016

You need Laravel 5.3

@momin-riyadh
Copy link

@mommand just ensure you have installed php version 5.6.4 and laravel 5.3 on your machine , then follow the instruction from voyager github doc. I had same problem ......... to now i resolve it

@fletch3555
Copy link
Collaborator

Closing as inactive. If this is still an issue in 5.3, please let me know and I'll reopen.

@cloudbluedigital
Copy link

cloudbluedigital commented Jan 26, 2017

I still have this problem,

storage
storage:link Create a symbolic link from "public/storage" to "storage/app/public"

Laravel Framework version 5.3.16

λ php -v
PHP 7.0.13 (cli) (built: Nov 8 2016 13:45:28) ( ZTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies

        /*
         * Package Service Providers...
         */

        TCG\Voyager\VoyagerServiceProvider::class,
        Intervention\Image\ImageServiceProvider::class,

But I am getting same error as the author, why?

@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants