0
我試圖用php artisan workbench vendor/packagename
創建一個新包,但是當我運行它,我得到Laravel 5:工匠工作臺:照明/支找不到
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
是什麼導致了問題?
問題解決了
我不得不手動修改從stable
的minimum-stability
到dev
半生成的包內,然後運行composer update
來完成它。
運行,請,把你的解決方案作爲答案,並將其標記爲已接受的答案。 – 2014-11-01 11:30:44