A git address is added to composer. json. the error message "composerupdate" is unknown. The problem is supplemented by: {code...} Therequestedpackagezcbobaecouldnotbefoundinanyversion, theremaybeatypoi...
A git address is added to composer. json. the error message "composer update" does not know why,
Question added:
Add composer. json in the BAE package and then re-composer update Your requirements cocould not be resolved to an installable set of packages. Problem 1
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
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
The project composer. json is as follows:
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": ">=5.5.9","zcbo/bae":"master","laravel/framework": "5.2.*"
},
"require-dev": {
"fzaninotto/faker": "~1.4","mockery/mockery": "0.9.*","phpunit/phpunit": "~4.0","symfony/css-selector": "2.8.*|3.0.*","symfony/dom-crawler": "2.8.*|3.0.*"
},
......
Follow-up:
The following error message is returned when the master is changed to dev-master:
In addition, how do I use tags?
Reply content:A git address is added to composer. json. the error message "composer update" does not know why,
Question added:
Add composer. json in the BAE package and then re-composer update Your requirements cocould not be resolved to an installable set of packages. Problem 1
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
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
The project composer. json is as follows:
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": ">=5.5.9","zcbo/bae":"master","laravel/framework": "5.2.*"
},
"require-dev": {
"fzaninotto/faker": "~1.4","mockery/mockery": "0.9.*","phpunit/phpunit": "~4.0","symfony/css-selector": "2.8.*|3.0.*","symfony/dom-crawler": "2.8.*|3.0.*"
},
......
Follow-up:
The following error message is returned when the master is changed to dev-master:
In addition, how do I use tags?
Are you sure you havegit
The repository is correctcomposer
Project, which is not defined in your Repositorycomposer
Requiredcomposer.json
,composer
The repository cannot be identified.
Answer:
master
The branch is parseddev-master
This version number, so you can directly usemaster
The version number cannot be used. In addition, it is best to passtag
Define and use a specific version.