iiYii / getyii

Yii2 community 请访问
http://www.getyii.com/
Other
438 stars 163 forks source link

composer install 出现问题 #181

Closed mingzhanliao closed 3 years ago

mingzhanliao commented 3 years ago

E:\project_me\php\getyii>composer install

[RuntimeException] require.bower-asset/PACE is invalid, it should not contain uppercase characters. Please use bower-asset/pace instead.

mingzhanliao commented 3 years ago

使用 composer2.0.7

forecho commented 3 years ago

@mingzhanliao https://github.com/iiYii/getyii/commit/5769c89a06d5b547911c1c947b7104ff8a4c60a3

mingzhanliao commented 3 years ago

Deprecation warning: require.bower-asset/At.js is invalid, it should not contain uppercase characters. Please use bower-asset/at.js instead. Make sure you fix this as Composer 2.0 will error.

似乎与composer2不兼容 以下为报错信息,使用composer1系列是可以的 E:\project_me\php\getyii>composer i No lock file found. Updating dependencies instead of installing from lock file. Use composer update over composer install if you do not have a lock file. Loading composer repositories with package information Updating dependencies 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.

forecho commented 3 years ago

是的,由于项目有点历史了,推荐使用 composer 1

mingzhanliao commented 3 years ago

好的