Neharika
Neharika

Reputation: 95

Symfony console error

I have a symfony project. Whenever I run the build command using doctrine keyword I am getting the following error.

Task "doctrine" is ambiguous (doctrine:create-db, doctrine:clean).

Please do tell me, what I am getting this error and how can it be resolved

Upvotes: 0

Views: 94

Answers (1)

Cyprian
Cyprian

Reputation: 11374

Somewhere you must executing

$ app/console doctrine

which causes this error. You have to explicitly run task(s), eg.

$ app/console doctrine:create-db
$ app/console doctrine:clean

Upvotes: 1

Related Questions