首页 文章

Laravel中使用composer的安装错误

提问于
浏览
0

我使用composer-setup.exe安装了composer

之后我尝试使用composer从cmd安装laravel . 我的cmd命令如下:

“F:\网站>作曲家创作项目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

1 回答

  • 0

    我觉得你错过了一些东西..

    试试这个,你很高兴去..

    composer create-project --prefer-dist laravel/laravel yourDirectory
    

    它来自official documentation

相关问题