我正在尝试使用命令illuminate/html
在Laravel 5.1中安装composer require illuminate/html
包。但是我得到了这个错误。
[ErrorException]
file_put_contents(C:\ProgramData\ComposerSetup\bin):
failed to open stream: Permission denied
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update]
[--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs]
[--sort-packages] [packages1] ... [packagesN]
我认为问题是访问该文件夹的权限,我试图删除只读保护但默认保护返回。
正在运行Windows10