myloveGy / yii2-admin

yii2 后台管理模块
BSD 3-Clause "New" or "Revised" License
35 stars 11 forks source link

bower-asset/jinxing-tables ~1.0.0 -> no matching package found. #5

Closed GordonHuangYong closed 4 years ago

GordonHuangYong commented 4 years ago

[root@672789358c77 shipping.alberlia.ltd]# /www/server/php/73/bin/php /usr/bin/composer require jinxing/yii2-admin PHP Warning: PHP Startup: Unable to load dynamic library 'soap' (tried: /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/soap (/www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/soap: cannot open shared object file: No such file or directory), /www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/soap.so (/www/server/php/73/lib/php/extensions/no-debug-non-zts-20180731/soap.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 Using version ^1.2 for jinxing/yii2-admin ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

myloveGy commented 4 years ago

这个可能是你的composer 缓存文件问题,找不到bower-asset/jinxing-tables 这个包,你可以试着单独装下这个包 composer require bower-asset/jinxing-tables

将你的 jinxing/yii2-admin 依赖改为 ~1.2.0

GordonHuangYong commented 4 years ago

我在百度度下载的示例中,update后安装成功. 直接在新项目安装没再尝试了.