Closed twocabbages closed 10 years ago
Seems some problem in your network connectivity or corrupted composer packages. This has been tested with a new basic and advanced app and works as shown below. You may try purging your vendor folder and try composer install
again.
Log on a fresh yii app install:
$ composer require kartik-v/yii2-builder:dev-master
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing kartik-v/dependent-dropdown (dev-master 80cf23b)
Cloning 80cf23ba6a4b9a08d829f6d4abd359c06ef17f95
- Installing kartik-v/bootstrap-fileinput (dev-master 1dc1296)
Cloning 1dc12969e1a06097ef3f8783aecba46b7f85d0e4
- Installing kartik-v/bootstrap-star-rating (dev-master 6eaec3e)
Cloning 6eaec3e79b3a809e2b7f147bf3ed26b8131847b2
- Installing kartik-v/yii2-widgets (dev-master bb53121)
Cloning bb531214e468dc78b142de27a01b255d5a0de6fe
- Installing kartik-v/yii2-field-range (dev-master efb7af4)
Cloning efb7af47364f802cc4b920a2f8837a7dc9a918e6
- Installing kartik-v/yii2-grid (dev-master c0500a8)
Cloning c0500a812131c9ab3c571678bfa836ce804c8daf
- Installing kartik-v/yii2-builder (dev-master 6e50da0)
Cloning 6e50da002b0b3d5fbf57545bb6fe149fb57175a7
Writing lock file
Generating autoload files
thank you!I'll try again
------------------ 原始邮件 ------------------ 发件人: "Kartik Visweswaran"notifications@github.com; 发送时间: 2014年5月23日(星期五) 下午3:57 收件人: "kartik-v/yii2-builder"yii2-builder@noreply.github.com; 抄送: "白菜"251949141@qq.com; 主题: Re: [yii2-builder] composer install failer (#10)
Seems some problem in your network connectivity or corrupted composer packages. This has been tested with a new basic and advanced app and works as shown below. You may try purging your vendor folder and try composer install again.
Log on a fresh yii app install:
$ composer require kartik-v/yii2-builder:dev-master ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) - Installing kartik-v/dependent-dropdown (dev-master 80cf23b) Cloning 80cf23ba6a4b9a08d829f6d4abd359c06ef17f95 - Installing kartik-v/bootstrap-fileinput (dev-master 1dc1296) Cloning 1dc12969e1a06097ef3f8783aecba46b7f85d0e4 - Installing kartik-v/bootstrap-star-rating (dev-master 6eaec3e) Cloning 6eaec3e79b3a809e2b7f147bf3ed26b8131847b2 - Installing kartik-v/yii2-widgets (dev-master bb53121) Cloning bb531214e468dc78b142de27a01b255d5a0de6fe - Installing kartik-v/yii2-field-range (dev-master efb7af4) Cloning efb7af47364f802cc4b920a2f8837a7dc9a918e6 - Installing kartik-v/yii2-grid (dev-master c0500a8) Cloning c0500a812131c9ab3c571678bfa836ce804c8daf - Installing kartik-v/yii2-builder (dev-master 6e50da0) Cloning 6e50da002b0b3d5fbf57545bb6fe149fb57175a7 Writing lock file Generating autoload files
—
Reply to this email directly or view it on GitHub.
C:\xampp\htdocs\basic>composer require kartik-v/yii2-builder:dev-master ./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 http://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
Installation failed, reverting ./composer.json to its original content.
Check/Try one or both of the following and update:
minimum-stability
to dev
in composer.json
present in your application root.It work good with
"minimum-stability": "dev",
if installation is still failed,you can try
"repositories": [
{
"type": "vcs",
"url": "https://github.com/kartik-v/dependent-dropdown.git"
},
{
"type": "vcs",
"url": "https://github.com/kartik-v/bootstrap-star-rating.git"
},
{
"type": "vcs",
"url": "https://github.com/kartik-v/bootstrap-fileinput.git"
},
{
"type": "vcs",
"url": "https://github.com/kartik-v/yii2-field-range.git"
},
{
"type": "vcs",
"url": "https://github.com/kartik-v/yii2-dropdown-x.git"
},
{
"type": "vcs",
"url": "https://github.com/kartik-v/yii2-nav-x.git"
},
{
"type": "vcs",
"url": "https://github.com/kartik-v/yii2-slider.git"
},
{
"type": "vcs",
"url": "https://github.com/kartik-v/yii2-money.git"
},
{
"type": "vcs",
"url": "https://github.com/kartik-v/yii2-grid.git"
},
{
"type": "vcs",
"url": "https://github.com/kartik-v/yii2-builder.git"
},
{
"type": "vcs",
"url": "https://github.com/kartik-v/yii2-icons.git"
},
{
"type": "vcs",
"url": "https://github.com/kartik-v/yii2-datecontrol.git"
},
{
"type": "vcs",
"url": "https://github.com/kartik-v/yii2-helpers.git"
},
{
"type": "vcs",
"url": "https://github.com/kartik-v/yii2-detail-view.git"
}
],
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "*",
"yiisoft/yii2-bootstrap": "*",
"yiisoft/yii2-swiftmailer": "*",
"kartik-v/dependent-dropdown": "dev-master",
"kartik-v/bootstrap-star-rating": "dev-master",
"kartik-v/bootstrap-fileinput": "dev-master",
"kartik-v/yii2-field-range": "dev-master",
"kartik-v/yii2-dropdown-x": "dev-master",
"kartik-v/yii2-slider": "dev-master",
"kartik-v/yii2-money": "dev-master",
"kartik-v/yii2-nav-x": "dev-master",
"kartik-v/yii2-grid": "dev-master",
"kartik-v/yii2-builder": "dev-master",
"kartik-v/yii2-icons": "dev-master",
"kartik-v/yii2-datecontrol": "dev-master",
"kartik-v/yii2-helpers": "dev-master",
"kartik-v/yii2-detail-view": "dev-master",
"yiisoft/yii2-composer": "dev-master",
"yiisoft/yii2-swiftmailer": "dev-master",
},
But I think it's stupid
for me its the same error...and i'm using "minimum-stability": "dev", too
Try setting the entry in your composer.json
file as follows (don't forget to add a comma at the end if required):
"kartik-v/yii2-builder": "@dev"
nothing happened... my error is
kartik-v/yii2-tabs-x dev-master requires kartik-v/yii2-krajee-base ~1.7 -> no matching package found.
This is my composer.json
{
"name": "yiisoft/yii2-app-basic",
"description": "Yii 2 Basic Project Template",
"keywords": ["yii2", "framework", "basic", "project template"],
"homepage": "http://www.yiiframework.com/",
"type": "project",
"license": "BSD-3-Clause",
"support": {
"issues": "https://github.com/yiisoft/yii2/issues?state=open",
"forum": "http://www.yiiframework.com/forum/",
"wiki": "http://www.yiiframework.com/wiki/",
"irc": "irc://irc.freenode.net/yii",
"source": "https://github.com/yiisoft/yii2"
},
"minimum-stability": "dev",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "*",
"yiisoft/yii2-bootstrap": "*",
"yiisoft/yii2-swiftmailer": "*",
"symfony/yaml": "2.*",
"kartik-v/yii2-widgets": "*",
"kartik-v/yii2-editable": "*",
"kartik-v/yii2-grid": "@dev",
"kartik-v/yii2-builder": "*",
"kartik-v/yii2-icons": "*",
"kartik-v/yii2-datecontrol": "*",
"kartik-v/yii2-helpers": "*",
"kartik-v/yii2-detail-view": "*",
"kartik-v/yii2-nav-x": "*",
"kartik-v/yii2-mpdf": "*",
"codeguy/upload": "1.3.2",
"fergusean/nusoap": "*",
"qiniu/php-sdk": "*",
"yiidoc/yii2-redactor": "*"
},
"require-dev": {
"yiisoft/yii2-codeception": "*",
"yiisoft/yii2-debug": "*",
"yiisoft/yii2-gii": "*",
},
"config": {
"process-timeout": 1800
},
"scripts": {
"post-create-project-cmd": [
"yii\\composer\\Installer::postCreateProject"
]
},
"extra": {
"yii\\composer\\Installer::postCreateProject": {
"setPermission": [
{
"runtime": "0777",
"web/assets": "0777",
"yii": "0755"
}
],
"generateCookieValidationKey": [
"config/web.php"
]
},
"asset-installer-paths": {
"npm-asset-library": "vendor/npm",
"bower-asset-library": "vendor/bower"
}
}
}
You can try to remove all vendor,and install again
php /usr/local/bin/composer require kartik-v/yii2-builder:dev-master -n --no-progress ./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 http://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
Installation failed, reverting ./composer.json to its original content.