我使用composer-setup.exe安装了composer
然后我尝试使用composer从cmd安装laravel。 我的cmd命令如下:
“F:\ Websites> composer create-project laravel / laravel l5”
它给我的错误如下:
[ErrorException] chmod():没有这样的文件或目录
create-project [-s | --stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [ - no-progress] [--no-secure-http] [--keep-vcs] [ - no -install] [--ignore-platform-reqs] [ - ] [] [] []
我正在使用create-project命令和composer
答案 0 :(得分:0)
我认为你错过了那些东西..
试试这个,你很高兴..
composer create-project --prefer-dist laravel/laravel yourDirectory