Drupal 8: console suddenly stopped working

When i run the console command:

php vendor/drupal/console/bin/drupal

I get this error:

<b>Fatal error</b>:  Uncaught Error: Class 'DrupalConsoleCoreStyleDrupalStyle' not found in /vendor/drupal/console/bin/drupal.php:44
Stack trace:
#0 /vendor/drupal/console/bin/drupal(3): require()
#1 {main}
  thrown in <b>/vendor/drupal/console/bin/drupal.php</b> on line <b>44</b><br />