0

git を使用して Laravel アプリを Elastic Beanstalk にデプロイしていますが、アプリは常にデプロイに失敗します。ログを確認したところ、次のエラーが表示されました。

Problem 1
- The requested package laravel/framework could not be found in any version, there may be       a typo in the package name.
Problem 2
- The requested package laravelbook/ardent could not be found in any version, there may be a typo in the package name.
Problem 3
- The requested package machuga/authority-l4 could not be found in any version, there may  be a typo in the package name.
Problem 4
- The requested package way/generators could not be found in any version, there may be a typo in the package name.
Problem 5
- The requested package jonob/restful could not be found in any version, there may be a typo in the package name.
Problem 6
- The requested package intervention/image could not be found in any version, there may be a typo in the package name.
Problem 7
- cartalyst/api 1.0.x-dev requires illuminate/container 4.0.* -> no matching package found.
- cartalyst/api v1.0.0 requires illuminate/container 4.0.* -> no matching package found.
- Installation request for cartalyst/api 1.0.* -> satisfiable by cartalyst/api v1.0.0, cartalyst/api 1.0.x-dev.

ここに私のcomposer.jsonファイルがあります:

{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"require": {
    "laravel/framework": "4.0.*",
        "laravelbook/ardent": "dev-master",
    "cartalyst/sentry": "2.0.*",
        "cartalyst/api": "1.0.*",
        "machuga/authority-l4" : "dev-master",
        "way/generators": "dev-master",
        "jonob/restful": "dev-master",
        "intervention/image": "dev-master"
},
"autoload": {
    "classmap": [
        "app/commands",
        "app/controllers",
        "app/models",
        "app/database/migrations",
        "app/database/seeds",
        "app/tests/TestCase.php"
    ]
},
"scripts": {
    "post-install-cmd": [
        "php artisan optimize"
    ],
    "pre-update-cmd": [
        "php artisan clear-compiled"
    ],
    "post-update-cmd": [
        "php artisan optimize"
    ],
    "post-create-project-cmd": [
        "php artisan key:generate"
    ]
},
"config": {
    "preferred-install": "dist"
},
    "repositories": [
    {
        "type": "composer",
        "url": "http://packages.cartalyst.com"
    }
    ],
"minimum-stability": "dev"
}

cartalyst パッケージは問題ないように見えるので、他のパッケージのリポジトリを指定する必要があるのではないでしょうか? もしそうなら、そのリポジトリは何ですか?

4

1 に答える 1

0

問題が何であるかがわかりました。composer.lock ファイルは .gitignore にあったため、AWS の composer はそれを取得できませんでした...詳細については、こちらを参照してください: http://www.michaelgallego.fr/blog/2013/08/19/solving-the- Elastic-beanstalk-composer-deployment-problems/

于 2013-08-22T15:58:53.507 に答える