Module not found: api folder alongside backend & frontend (advanced template) ?

I’m following article: http://budiirawan.com/setup-restful-api-yii2/

Have set up api folder (exactly like structure in the article).

Getting reflection error for module not found, problem described here:

module not found

Any help much appreciated