Yii2 Advanced installation throws error 'Document root "/var/www/html/project/console/web" does not exist.' while running php Yii serve
<p>I have tried yii2 advanced installation, it works and the pages have been created. But to verify installation I used the command PHP YII serve. it throws the error </p>

<blockquote>
  <p>Document root "/var/www/html/highwaymotels/console/web" does not exist.</p>
</blockquote>

<p>But when I check the advanced template <a href="https://github.com/yiisoft/yii2-app-advanced/tree/master/console" rel="noreferrer">github</a> it has the same folder as mine. Am I doing anything wrong? else what is the issue here?</p>