Hello Anh,
I'm creating a new plug-in today and I'm getting a composer error on composer install command. In the end, I only get meta-box and mb-user-profile plugins installed, I do not get the other ones from my composer.json file (see below).
Any help will be appreciated!
Here is the composer install command output:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 6 installs, 0 updates, 0 removals
- Installing composer/installers (v1.6.0): Loading from cache
- Installing wpackagist-plugin/meta-box (dev-trunk): Checking out trunk
Failed to download wpackagist-plugin/meta-box from source: Package could not be downloaded,
svn: E170013: Unable to connect to a repository at URL 'https://plugins.svn.wordpress.org/meta-box/trunk'
svn: E230001: Server SSL certificate verification failed: issuer is not trusted
Now trying to download from dist
- Installing wpackagist-plugin/meta-box (dev-trunk): Loading from cache
- Installing meta-box/mb-user-profile (master): Loading from cache
- Installing meta-box/mb-frontend-submission (master): Loading from cache
- Installing meta-box/mb-user-meta (master): Loading from cache
- Installing meta-box/meta-box-geolocation (master): Loading from cache
Writing lock file
Generating autoload files
Here is my composer.json file:
{
"repositories":[
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "composer",
"url": "https://packages.metabox.io/0044b533fd177d255c431f20e204141d"
}
],
"require": {
"wpackagist-plugin/meta-box": "dev-trunk",
"meta-box/mb-user-profile": "dev-master",
"meta-box/mb-frontend-submission": "dev-master",
"meta-box/mb-user-meta": "dev-master",
"meta-box/meta-box-geolocation": "dev-master"
},
"extra": {
"installer-paths": {
"vendor/meta-box/meta-box/": ["wpackagist-plugin/meta-box"],
"vendor/meta-box/mb-user-profile/": ["vendor:meta-box"],
"vendor/meta-box/mb-frontend-submission/": ["vendor:meta-box"],
"vendor/meta-box/mb-user-meta/": ["vendor:meta-box"],
"vendor/meta-box/meta-box-geolocation/": ["vendor:meta-box"]
}
},
"autoload": {
"files": [
"vendor/meta-box/meta-box/meta-box.php",
"vendor/meta-box/mb-user-profile/mb-user-profile.php",
"vendor/meta-box/mb-user-meta/mb-user-meta.php",
"vendor/meta-box/meta-box-geolocation/meta-box-geolocation.php"
]
}
}