i had recently installed laravel in windows through composer made a new project named project in my xamp's htdocs folder then run "php artisan serve" comand in cmd but it is giving me error "failed to open stream" here is screenshot here I ran "php artisan serve" comand error is shown in above image I also tried to search my problem on stack overflow but couldn't find any solution that can suit my problem
2条回答 默认 最新
- dongque4778 2017-08-22 19:42关注
Most files are missing because you have not successfully installed Laravel.
Go to
C:\xampp\htdocs\project>
and typecomposer update --no-scripts
orcomposer install
Since you are using xampp, once all the necessary files and packages are downloaded to your project you should be able to access your site through localhost without running
php artisan serve
by visitinghttp://localhost/project/public
NB:Just ensure xampp is running
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报