0

で新しいパッケージを作成しようとしていますphp artisan workbench vendor/packagenameが、実行すると取得されます

Package workbench created!
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
    - The requested package illuminate/support could not be found in any version, there may be a typo in the package name.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

illuminate/support下にlaravel/framework/src/Illuminate/Supportあるので、何が原因なのかよくわかりません。

生成された composer.json ファイルには、次のものが必要です。

"require": {
    "php": ">=5.4.0",
    "illuminate/support": "5.0.*"
},

illuminate/supportバージョン5.0が問題の原因かどうかわかりませんか?

問題が解決しました

半分生成されたパッケージ内でminimum-stabilityfromstableを手動で修正し、実行して完成させる必要がありました。devcomposer update

4

1 に答える 1

0

Laravel 5 はまだ開発中のため、"minimum-stability" という composer.json を stable から "dev" に変更します。

"minimum-stability": "dev"

次に、コマンドラインで実行します

composer update
于 2014-11-01T11:33:51.680 に答える