C:\Users\KEREM>composer create-project laravel/laravel example-app
Creating a "laravel/laravel" project at "./example-app"
Info from https://repo.packagist.org: #StandWithUkraine
Installing laravel/laravel (v10.0.4)
In ProjectInstaller.php line 69:
mkdir(): Permission denied
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package> [<directory> [<version>]]]
C:\Users\KEREM>composer create-project laravel/laravel example-app
在https://repo.packagist.org的“./example-app”信息中创建一个“laravel/laravel”项目:#StandWithUkraine安装laravel/laravel(v10.0.4)
在ProjectInstaller.php行69:
mkdir():权限被拒绝
1条答案
按热度按时间6l7fqoea1#
请确保您有权限在
C:\Users\KEREM
中写入。可能在子文件夹C:\Users\KEREM\Documents\...
或其他子文件夹中工作。如果仍然不起作用,请尝试以管理员身份运行windows控制台,然后在
C:\Users\KEREM
文件夹中重新运行composer create-project laravel/laravel example-app
。