0
在Windows 10中,我將Xampp 5.6.23與composer和git一起安裝。Laravel 5.2手工錯誤255 exeception
我解僱這個命令:composer create-project pandaac/pandaac C:\xampp\dev-apolune dev-apolune
我得到這個錯誤:
[29-Jul-2016 11:24:14 UTC] PHP Fatal error: Uncaught exception
'ErrorException' with message 'Argument 1 passed to
Illuminate\Foundation\Exceptions\Handler::__construct() must implement
interface Illuminate\Contracts\Container\Container, instance of
Illuminate\Log\Writer given, called in C:\xampp\dev-apolune\vendor\graham-
campbell\exceptions\src\ExceptionHandler.php on line 63 and defined' in
C:\xampp\dev- apolune\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.ph
p:44
Stack trace:
#0 C:\xampp\dev-apolune\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php(44): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(4096, 'Argument 1 pass...', 'C:\\xampp\\dev-ap...', 44, Array)
#1 C:\xampp\dev-apolune\vendor\graham-campbell\exceptions\src\ExceptionHandler.php(63): Illuminate\Foundation\Exceptions\Handler->__construct(Object(Illuminate\Log\Writer))
#2 [internal function]: GrahamCampbell\Exceptions\ExceptionHandler->__construct(Object(Illuminate\Foundation\Application))
#3 C:\xampp\dev-apolune\vendor\larave in C:\xampp\dev-apolune\vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\Handler.php on line 44
composer.json
包含:
{
"name": "pandaac/pandaac",
"description": "An automatic account creator for Open Tibia servers.",
"keywords": ["pandaac", "apolune", "laravel", "tibia", "opentibia"],
"license": "MIT",
"authors": [
{
"name": "Christopher Eklund",
"email": "[email protected]",
"homepage": "https://otland.net/members/chris.13882/",
"role": "Head Developer"
},
{
"name": "Kristoffer Eklund",
"email": "[email protected]",
"homepage": "https://otland.net/members/cornex.10032/",
"role": "Developer"
}
],
"type": "project",
"require": {
"php": ">=5.5.9",
"apolune/core": "dev-master",
"pandaac/theme-tibia": "dev-master"
},
"require-dev": {
"barryvdh/laravel-debugbar": "~2.1",
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~4.0",
"phpspec/phpspec": "~2.1",
"filp/whoops": "~2.0"
},
"autoload": {
"classmap": [
"database"
],
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {},
"scripts": {
"post-root-package-install": [
"php -r \"copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"php artisan key:generate"
],
"post-install-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postInstall",
"php artisan optimize",
"php artisan vendor:publish --tag=public",
"php artisan vendor:publish --tag=config"
],
"post-update-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
"php artisan optimize"
]
},
"minimum-stability": "dev",
"config": {
"preferred-install": "dist"
}
}
這不是一個laravel相關的問題你 - –