不幸的是,当我尝试将所有软件包打包到自定义软件包(dennis00 / denpal)中并使用该软件包时,composer出现错误。
[RuntimeException]
Could not scan for classes inside "/home/dennis/denpal/denpal-example/vendor2/dennis00/denpal/scripts/composer/ScriptHandler.php" which does not appear to be a file nor a folder
cat composer.json
{
"name": "dennis00/denpal-example",
"description": "Example of Denpal",
"type": "project",
"license": "GPL-2.0+",
"minimum-stability": "dev",
"config":
{
"vendor-dir": "vendor2"
},
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
}
],
"autoload": {
"classmap": [
"scripts/composer/ScriptHandler.php"
]
},
"require": {
"dennis00/denpal": "dev-master@dev",
"drutiny/drutiny": "2.3.*@dev"
}
}
ls vendor2 /
alchemy brumann composer dennis00 doctrine drush egulias guzzlehttp knplabs nikic psr romaricdrigon stecman twig webmozart
asm89 caseyamcl consolidation dflydev drupal drutiny erusev jakub-onderka masterminds paragonie psy solarium symfony typo3 zendframework
bin cocur cweagans dnoegel drupal-composer easyrdf fiasco kevinrob mustache pear ralouphie stack symfony-cmf webflo