I have tried so much through Googling but I have not found the right solution for that. Can anyone help me out? Even I tried to change the module.config file code through routing as well as I have tried application.config file to add module name in file but it is not working.
Fatal error: Uncaught exception 'Zend\Mvc\Router\Exception\InvalidArgumentException' with message 'Missing "type" option' in D:\xampp\htdocs\myproject\vendor\zendframework\zendframework\library\Zend\Mvc\Router\SimpleRouteStack.php:269 Stack trace: #0 D:\xampp\htdocs\myproject\vendor\zendframework\zendframework\library\Zend\Mvc\Router\Http\TreeRouteStack.php(163): Zend\Mvc\Router\SimpleRouteStack->routeFromArray(Array) #1 D:\xampp\htdocs\myproject\vendor\zendframework\zendframework\library\Zend\Mvc\Router\Http\TreeRouteStack.php(113): Zend\Mvc\Router\Http\TreeRouteStack->routeFromArray(Array) #2 D:\xampp\htdocs\myproject\vendor\zendframework\zendframework\library\Zend\Mvc\Router\SimpleRouteStack.php(140): Zend\Mvc\Router\Http\TreeRouteStack->addRoute('controllers', Array) #3 D:\xampp\htdocs\myproject\vendor\zendframework\zendframework\library\Zend\Mvc\Router\SimpleRouteStack.php(84): Zend\Mvc\Router\SimpleRouteStack->addRoutes(Array) #4 D:\xampp\htdocs\myproject\vendor\zendframework\zendframework\library\Zend\Mvc\Router\Ht in D:\xampp\htdocs\myproject\vendor\zendframework\zendframework\library\Zend\ServiceManager\ServiceManager.php on line 909
First you need to install the zf-commons and configure in module.config.php.
Please take a look at this.
https://github.com/ZF-Commons/ZfcAdmin