:\ Users \ Ali \ Desktop \ learn project \ help-system> php artisan serv PHP警告:未捕获的ErrorException:require(C:\ Users \ Ali \ Desktop \ learn project \ help-system \ routes / api.php):无法打开流:C:\ Users \ Ali \ Desktop中没有此类文件或目录\ learn project \ help-system \ vendor \ laravel \ framework \ src \ Illuminate \ Routing \ RouteFileRegistrar.php:35 堆栈跟踪:
PHP致命错误:Illuminate \ Routing \ RouteFileRegistrar :: register():无法打开所需的'C:\ Users \ Ali \ Desktop \ learn项目\ help-system \ routes / api.php'(include_path ='C: C:\ Users \ Ali \ Desktop \ learn project \ help-system \ vendor \ laravel \ framework \ src \ Illuminate \ Routing \ RouteFileRegistrar.php上的\ xampp \ php \ PEAR')
Symfony \ Component \ Debug \ Exception \ FatalErrorException:Illuminate \ Routing \ RouteFileRegistrar :: register():无法打开所需的'C:\ Users \ Ali \ Desktop \ learn项目\ help-system \ routes / api.php' (include_path ='C:\ xampp \ php \ PEAR')
在C:\ Users \ Ali \ Desktop \ learn项目\ help-system \ vendor \ laravel \ framework \ src \ Illuminate \ Routing \ RouteFileRegistrar.php:35中的31 |公共功能寄存器($ routes) 32 | { 33 | $ router = $ this-> router; 34 |
35 |需要$ routes; 36 | } 37 | } 38 |
Whoops \ Exception \ ErrorException:Illuminate \ Routing \ RouteFileRegistrar :: register():无法打开所需的'C:\ Users \ Ali \ Desktop \ learn project \ help-system \ routes / api.php'(include_path =' C:\ xampp \ php \ PEAR')
在C:\ Users \ Ali \ Desktop \ learn项目\ help-system \ vendor \ laravel \ framework \ src \ Illuminate \ Routing \ RouteFileRegistrar.php:35中的31 |公共功能寄存器($ routes) 32 | { 33 | $ router = $ this-> router; 34 |
35 |需要$ routes; 36 | } 37 | } 38 |
异常跟踪:
1 Whoops \ Run :: handleError(“ Illuminate \ Routing \ RouteFileRegistrar :: register():无法打开所需的'C:\ Users \ Ali \ Desktop \ learn项目\ help-system \ routes / api.php'( include_path ='C:\ xampp \ php \ PEAR')“,” C:\ Users \ Ali \ Desktop \ learn project \ help-system \ vendor \ laravel \ framework \ src \ Illuminate \ Routing \ RouteFileRegistrar.php“) C:\ Users \ Ali \ Desktop \ learn project \ help-system \ vendor \ filp \ whoops \ src \ Whoops \ Run.php:433
2 Whoops \ Run :: handleShutdown() [内部]:0