项目目录结构如图:
composer 配置
"repositories": {
"packagist": {
"type": "composer",
"url": "https://mirrors.aliyun.com/composer/"
},
"lego": {
"type": "path",
"url": "./lego"
}
},
本地能正常使用,执行 lean deploy 时遇到下面报错
[REMOTE] [ERROR] 部署失败:Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 105 installs, 0 updates, 0 removals
- Installing doctrine/inflector (2.0.3): DownloadinDownloading (100%!)(MISSING)
- Installing doctrine/lexer (1.2.1): DownloadinDownloading (100%!)(MISSING)
- Installing dragonmantank/cron-expression (v2.3.1): DownloadinDownloadinDownloading (100%!)(MISSING)
- Installing symfony/polyfill-php80 (v1.20.0): DownloadinDownloading (100%!)(MISSING)
- Installing symfony/polyfill-mbstring (v1.20.0): Downloading (connecting...)
<ignored...>
DownloadinDownloadinDownloadinDownloadinDownloadinDownloadinDownloadinDownloadinDownloadinDownloadinDownloadinDownloading (100%!)(MISSING)
[RuntimeException]
Source path "./lego" is not found for package wutongwan/lego
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
[INFO] Deleting temporary files
Deployment failed