composer安装Laravel报错,提示“Changed current directory to C:/Users/Administrator...
程序员文章站
2024-01-09 09:20:31
...
按照Laravel文档的安装方式在windows上安装Laravel时,执行composer global require laravel/installer。
命令行显示:
Changed current directory to C:/Users/Administrator/AppData/Roaming/Composer
这是因类composer的镜像下载地址连接不上,只需要修改composer的镜像下载地址为过国内的即可,执行以下命令即可:
composer config repo.packagist composer https://packagist.phpcomposer.com
推荐阅读
-
composer安装Laravel报错,提示“Changed current directory to C:/Users/Administrator...
-
composer安装Laravel报错,提示“Changed current directory to C:/Users/Administrator...
-
Larave使用composer安装无反应,提示“Changed current directory to C:/Users/Administrator/AppData/Roaming/Composer”
-
Larave使用composer安装无反应,提示“Changed current directory to C:/Users/Administrator/AppData/Roaming/Composer”