php - 未知:第 0 行需要打开失败.laravel 5.6

2022-01-14 00:00:00 xampp php laravel-5.6

我刚刚通过 composer 安装了 laracast/flash 并更新了 nesbot/carbon.cmd 在下载碳时发疯了.cmd界面显示了一会整个界面散落的文字和方框,下载完成.php artisan serve 是否在 localhost:8000 出现以下错误.

I just installed laracast/flash and updated nesbot/carbon via composer. The cmd went nuts while downloading carbon. Cmd interface displayed scattered words and boxes all over the interface for a while and the download was completed. Did php artisan serve at localhost:8000 and I've got the following errors.

警告:未知:无法打开流:第 0 行的未知中没有此类文件或目录

Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

致命错误:未知:在第 0 行的未知中打开所需的 'C:xampphtdocsNC WorldProjectNameserver.php' (include_path='C:xamppphpPEAR') 失败

Fatal error: Unknown: Failed opening required 'C:xampphtdocsNC WorldProjectNameserver.php' (include_path='C:xamppphpPEAR') in Unknown on line 0

推荐答案

尝试禁用你的杀毒软件,这发生在我身上,好像avast删除了我的server.php.

Try to disable your anti-virus, this happens to me, it seems avast deletes my server.php.

所以我将它添加到异常中

So I added it to the exception

相关文章