Closed jqtruong closed 9 years ago
Hey, sorry i can not reproduce the issue. Could you provide your composer.json?
Tested with
{
"name": "drupal-composer/drupal-project",
"description": "Composer template for Drupal projects",
"repositories": [{
"type": "composer",
"url": "http://packagist.drupal-composer.org"
}],
"require": {
"composer/installers": "~1.0",
"derhasi/composer-preserve-paths": "0.1.*",
"drupal/drupal": "7.*",
"drupal/file_resup": "7.*"
},
"scripts": {
"post-create-project-cmd": [
"rm README.md LICENSE .travis.yml phpunit.xml.dist"
]
},
"config": {
"vendor-dir": "vendor"
},
"extra": {
"installer-paths": {
"web/": ["type:drupal-core"],
"web/sites/all/modules/contrib/{$name}/": ["type:drupal-module"],
"web/sites/all/themes/contrib/{$name}/": ["type:drupal-theme"],
"web/sites/all/libraries/{$name}/": ["type:drupal-library"],
"web/sites/all/drush/{$name}/": ["type:drupal-drush"],
"web/profiles/{$name}/": ["type:drupal-profile"]
},
"preserve-paths": [
"web/sites/all/modules/contrib",
"web/sites/all/themes/contrib",
"web/sites/all/libraries",
"web/sites/all/drush",
"web/sites/default/settings.php",
"web/sites/default/files"
]
}
}
Thank you, the composer repository url was wrong on our end.
This project can't be downloaded with composer. I get an error about the package not being found.
Is there something you or i can do to fix this?