Error when creating new project in laravel

北城以北 提交于 2020-01-15 03:51:06

问题


What i have tried:

1) Install php7.2
2) Install Composer
3) run command composer global require "laravel/installer"

But when i run laravel new blog the output error is the following:

The provided cwd does not exist.


回答1:


The provided cwd does not exist means that the Current Working Directory does not exist which means that laravel new command was unable to create the directory 'blog' because you do not have the permission to do so.

What you can do is to change the permissions for that directory, so the command is able to create the working directory



来源:https://stackoverflow.com/questions/52409691/error-when-creating-new-project-in-laravel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!