- 积分
- 266
- 威望
-
- 金钱
-
- 注册时间
- 2015-10-16
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
自从 https://repo.packagist.org 站队 WKL ,阿里云的 composer 源就更新不及时,取消才正常
- root@seven:/opt/www# composer create-project laravel/laravel
- Creating a "laravel/laravel" project at "./laravel"
- Installing laravel/laravel (v10.2.2)
- - Installing laravel/laravel (v10.2.2): Extracting archive
- Created project in /opt/www/laravel
- > @php -r "file_exists('.env') || copy('.env.example', '.env');"
- Loading composer repositories with package information
- Updating dependencies
- Your requirements could not be resolved to an installable set of packages.
- Problem 1
- - laravel/framework[v10.10.0, ..., v10.12.0] require doctrine/inflector ^2.0.5 -> found doctrine/inflector[2.0.x-dev, 2.1.x-dev] but it does not match your minimum-stability.
- - Root composer.json requires laravel/framework ^10.10 -> satisfiable by laravel/framework[v10.10.0, v10.10.1, v10.11.0, v10.12.0].
- root@seven:/opt/www# rm -rf laravel/
- root@seven:/opt/www# composer config -g --unset repos.packagist
- root@seven:/opt/www# composer create-project laravel/laravel
- Creating a "laravel/laravel" project at "./laravel"
- Info from https://repo.packagist.org: #StandWithUkraine
- Installing laravel/laravel (v10.2.2)
- - Installing laravel/laravel (v10.2.2): Extracting archive
- Created project in /opt/www/laravel
- > @php -r "file_exists('.env') || copy('.env.example', '.env');"
- Loading composer repositories with package information
- Updating dependencies
- Lock file operations: 108 installs, 0 updates, 0 removals
- - Locking brick/math (0.11.0)
- - Locking dflydev/dot-access-data (v3.0.2)
复制代码
|
|