ocornu
ocornu

Reputation: 579

symfony2 app console: no available command

After HDD crash, I had to reimport my symfony2 app into Eclipse from my SVN server.

After syncing everything, I can't use the console anymore. I only get 2 commands : list and help.

I tried:

    php bin/vendors install --reinstall

At the end, I got the following message:

    [InvalidArgumentException]                                
    There are no commands defined in the "assets" namespace.  

    [InvalidArgumentException]                               
    There are no commands defined in the "cache" namespace.  

My configuration is pretty simple: - ubuntu server 11.04 (64bits) - virtualbox OSE

How can I fix it?

Here is the result of app/console list command:

    oc@ubuntu-server:/var/www/projets/Simoov2/src$ app/console list
    Symfony version 2.0.0-RC4 - app/dev/debug

    Usage:
      [options] command [arguments]

    Options:
      --help           -h Display this help message.
      --quiet          -q Do not output any message.
      --verbose        -v Increase verbosity of messages.
      --version        -V Display this program version.
      --ansi              Force ANSI output.
      --no-ansi           Disable ANSI output.
      --no-interaction -n Do not ask any interactive question.
      --shell          -s Launch the shell.
      --env            -e The Environment name.
      --no-debug          Switches off debug mode.

    Available commands:
      help   Displays help for a command
      list   Lists commands

Upvotes: 1

Views: 3082

Answers (1)

ocornu
ocornu

Reputation: 579

OK. As I thought, this is not related to symfony2 but related to virtualbox mounting system.

Upvotes: 1

Related Questions