Closed xxpepe84xx closed 9 years ago
Hi,
Currently the plugin only works in "global" mode, the PR #3082 will allow the plugin to work in "project" mode.
@xxpepe84xx Is that your problem is solved by installing the plugin in global mode?
Yes, but I need a solution for the "project" mode, so I am waiting for the solution of your PR.
Right now, @seldaek is very busy, and he would like to have some time to look the changes. it's for this reason that the PR #3082 is still not merged.
See #7 .
I have same problem. I have installed plugin in global mode and then i get this output:
{
"repositories": [
{
"type": "composer",
"url": "http://packages.phundament.com"
}
],
"require": {
"php": ">=5.3.2",
"yiisoft/yii": "1.1.*",
"php-imap/php-imap" : "*",
"instaclick/bounce-mail-handler": "*",
"bower-asset/jquery": "2.*",
"behat/transliterator": "~1.1@dev",
"goodnickoff/yiirestmodel": "dev-master",
"z_bodya/yii-chosen": "dev-default",
"bower-asset/bootstrap-multiselect": "0.9.*@dev",
"matthiasmullie/minify": "dev-master",
"fxp/composer-asset-plugin": "~1.0",
"bower-asset/angular": "dev-master",
"bower-asset/angular-resource": "dev-master"
},
"minimum-stability": "dev",
"autoload": {
"psr-0": {
"config": "./"
}
},
"extra": {
"asset-installer-paths": {
"npm-asset-library": "vendor/npm",
"bower-asset-library": "../public_html/bower"
}
}
}
@neizerth Add the @dev
flag on your dependency (see #69 for read the reason).
@francoispluchino Thanks for your reply. I changed my composer.json to
{
"repositories": [
{
"type": "composer",
"url": "http://packages.phundament.com"
}
],
"require": {
"php": ">=5.3.2",
"yiisoft/yii": "1.1.*",
"php-imap/php-imap" : "*",
"bower-asset/angular": "1.4@dev",
"bower-asset/angular-resource": "1.4@dev"
},
"minimum-stability": "dev",
"autoload": {
"psr-0": {
"config": "./"
}
},
"extra": {
"asset-installer-paths": {
"npm-asset-library": "vendor/npm",
"bower-asset-library": "../public_html/bower"
}
}
}
And i have this problems :
Problem 1
- The requested package bower-asset/angular 1.4@dev could not be found.
Problem 2
- Installation request for bower-asset/angular-resource 1.4@dev -> satisfiable by bower-asset/angular-resource[v1.4.0].
- bower-asset/angular-resource v1.4.0 requires bower-asset/angular 1.4.0 -> no matching package found.
Hi,
I'm trying to install some packages with the composer-asset-plugin. My composer.json looks like
But if I try to install I get the error:
Directly from bower there is no problem. Here my bower.json
Do you know where the problem is?
Thanks