我尝试使用此命令创建控制器:php artisan controller:make CupcakesController
但我收到此错误:
{
"error": {
"type": "ErrorException",
"message": "include(\/opt\/lampp\/htdocs\/cupcakes-lara\/app\/controllers\/CupcakesController.php): failed to open stream: No such file or directory",
"file": "\/opt\/lampp\/htdocs\/cupcakes-lara\/vendor\/composer\/ClassLoader.php",
"line": 185
}
}
这有什么问题?