quinn
F:\xxx\www\yii_blog>composer install You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Warning: The lock file is not up to date with the latest changes in composer.jso n. You may be getting outdated dependencies. Run update to update them. Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for fxp/composer-asset-plugin v1.0.0-beta4 -> satisfi able by fxp/composer-asset-plugin[v1.0.0-beta4]. - fxp/composer-asset-plugin v1.0.0-beta4 requires composer-plugin-api 1.0.0 -> no matching package found. Problem 2 - Installation request for yiisoft/yii2-composer 2.0.3 -> satisfiable by yii soft/yii2-composer[2.0.3]. - yiisoft/yii2-composer 2.0.3 requires composer-plugin-api 1.0.0 -> no match ing package found. Problem 3 - yiisoft/yii2-composer 2.0.3 requires composer-plugin-api 1.0.0 -> no match ing package found. - yiisoft/yii2 2.0.3 requires yiisoft/yii2-composer * -> satisfiable by yiis oft/yii2-composer[2.0.3]. - Installation request for yiisoft/yii2 2.0.3 -> satisfiable by yiisoft/yii2 [2.0.3]. Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your min imum-stability setting see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more det ails. Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further commo n problems.
我表示身体被掏空,最顶上的同志,you are not alone.
由于无法使用composer完成依赖安装,所以我解决了依赖后新建了一个版本库,供大家使用。https://github.com/kunx-edu/moblog
另附上解决依赖的步骤:
拷贝yii2离线安装包中的vendor到moblog的根目录
修改moblog/web/admin.php中的调试模式为true
根据提示中的内容去github上搜索所需要的包,markdown的包是在npm网站找到的github地址。[root@localhost moblog]# composer update 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 - The requested package npm-asset/bootstrap-markdown could not be found in any version, there may be a typo in the package name. Problem 2 - The requested package npm-asset/markdown could not be found in any version, there may be a typo in the package name. Problem 3 - yiisoft/yii2 2.0.7 requires bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable -> no matching package found. - yiisoft/yii2 2.0.6 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found. - yiisoft/yii2 2.0.5 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found. - yiisoft/yii2 2.0.4 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found. - yiisoft/yii2 2.0.3 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found. - yiisoft/yii2 2.0.2 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found. - yiisoft/yii2 2.0.1 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found. - yiisoft/yii2 2.0.0 requires bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> no matching package found. - Installation request for yiisoft/yii2 * -> satisfiable by yiisoft/yii2[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7]. Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your minimum-stability setting see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details. Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
这个包是不是该更新了还是我的环境有问题啊
由于无法使用composer完成依赖安装,所以我解决了依赖后新建了一个版本库,供大家使用。https://github.com/kunx-edu/moblog
另附上解决依赖的步骤:
拷贝yii2离线安装包中的vendor到moblog的根目录
修改moblog/web/admin.php中的调试模式为true
根据提示中的内容去github上搜索所需要的包,markdown的包是在npm网站找到的github地址。- quinn 评论了源码 MoBlog一个基于Yii2的博客系统
由于无法使用composer完成依赖安装,所以我解决了依赖后新建了一个版本库,供大家使用。https://github.com/kunx-edu/moblog
另附上解决依赖的步骤:
- 拷贝yii2离线安装包中的vendor到moblog的根目录
- 修改moblog/web/admin.php中的调试模式为true
- 根据提示中的内容去github上搜索所需要的包,markdown的包是在npm网站找到的github地址。
F:\xxx\www\yii_blog>composer install You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Warning: The lock file is not up to date with the latest changes in composer.jso n. You may be getting outdated dependencies. Run update to update them. Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for fxp/composer-asset-plugin v1.0.0-beta4 -> satisfi able by fxp/composer-asset-plugin[v1.0.0-beta4]. - fxp/composer-asset-plugin v1.0.0-beta4 requires composer-plugin-api 1.0.0 -> no matching package found. Problem 2 - Installation request for yiisoft/yii2-composer 2.0.3 -> satisfiable by yii soft/yii2-composer[2.0.3]. - yiisoft/yii2-composer 2.0.3 requires composer-plugin-api 1.0.0 -> no match ing package found. Problem 3 - yiisoft/yii2-composer 2.0.3 requires composer-plugin-api 1.0.0 -> no match ing package found. - yiisoft/yii2 2.0.3 requires yiisoft/yii2-composer * -> satisfiable by yiis oft/yii2-composer[2.0.3]. - Installation request for yiisoft/yii2 2.0.3 -> satisfiable by yiisoft/yii2 [2.0.3]. Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your min imum-stability setting see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more det ails. Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further commo n problems.
我表示身体被掏空,最顶上的同志,you are not alone.
@38385 像你这种既然解决,就提供解决方案,你这样对大家有什么实质性帮助么?是炫耀吧
- quinn 评论了源码 MoBlog一个基于Yii2的博客系统
懵逼了,求大神指点一下。
$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Your requirements could not be resolved to an installable set of packages.Problem 1
- Installation request for fxp/composer-asset-plugin v1.0.0-beta4 -> satisfiable by fxp/composer-asset-plugin[v1.0.0-beta4]. - fxp/composer-asset-plugin v1.0.0-beta4 requires composer-plugin-api 1.0.0 -> no matching package found.
Problem 2
- Installation request for yiisoft/yii2-composer 2.0.3 -> satisfiable by yiisoft/yii2-composer[2.0.3]. - yiisoft/yii2-composer 2.0.3 requires composer-plugin-api 1.0.0 -> no matching package found.
Problem 3
- yiisoft/yii2-composer 2.0.3 requires composer-plugin-api 1.0.0 -> no matching package found. - yiisoft/yii2 2.0.3 requires yiisoft/yii2-composer * -> satisfiable by yiisoft/yii2-composer[2.0.3]. - Installation request for yiisoft/yii2 2.0.3 -> satisfiable by yiisoft/yii2[2.0.3].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see https://getcomposer.org/doc/04-schema.md#minimum-stability for more details.
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.