Open user1007017 opened 7 years ago
Facing similar issue. I am getting the following error when trying to install using
composer require --prefer-dist p2made/yii2-startbootstrap-themes "^2.16"
.
Installation failed, reverting ./composer.json to its original content.
[Composer\Repository\InvalidRepositoryException] No valid bower.json was found in any branch or tag of https://github.com/Dm itryBaranovskiy/eve.git, could not load a package from it.
Any solutions?
Below is my composer.json file
"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": "stable",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "~2.0.5",
"yiisoft/yii2-bootstrap": "~2.0.0",
"yiisoft/yii2-swiftmailer": "~2.0.0",
"webzop/yii2-notifications": "*",
"skeeks/yii2-slug-behavior": "*",
"yiisoft/yii2-gii": "^2.0",
"dektrium/yii2-user": "^0.9.12",
"slavkovrn/yii2-chat": "*",
"whc/yii2-flysystem-wrapper": "dev-master",
"dektrium/yii2-rbac": "1.0.0-alpha@dev",
"spomky-labs/jose": "^7.0",
"mootensai/yii2-enhanced-gii": "dev-master",
"kartik-v/yii2-mpdf": "dev-master",
"kartik-v/yii2-tree-manager": "dev-master",
"yiimaker/yii2-email-templates": "^2.1",
"p2made/yii2-startbootstrap-themes": "^2.16"
},
"require-dev": {
"yiisoft/yii2-debug": "~2.0.0",
"yiisoft/yii2-faker": "~2.0.0",
"codeception/base": "^2.2.3",
"codeception/verify": "~0.3.1",
"codeception/specify": "~0.4.3"
},
"config": {
"process-timeout": 1800
},
"scripts": {
"post-install-cmd": [
"yii\\composer\\Installer::postInstall"
],
"post-create-project-cmd": [
"yii\\composer\\Installer::postCreateProject",
"yii\\composer\\Installer::postInstall"
]
},
"extra": {
"yii\\composer\\Installer::postCreateProject": {
"setPermission": [
{
"runtime": "0777",
"web/assets": "0777",
"yii": "0755"
}
]
},
"yii\\composer\\Installer::postInstall": {
"generateCookieValidationKey": [
"config/web.php"
]
}
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
]
}
If I try to install it with
composer require --prefer-dist p2made/yii2-startbootstrap-themes "^2.16"
I'm getting the following error: