2016-03-26 44 views
0

我試圖讓鮑姆/鮑姆/etrepat /鮑姆laravel /流明框架工作。使用鮑姆/鮑姆管腔

我已經加入"baum/baum": "~1.1"到我composer.json並得到鮑姆正確安裝,但是當我嘗試使用php artisan baum:install nace_categories -vvv創建一個數據庫遷移我獲得以下錯誤信息:

Mareks-MacBook-Air:myDWH marekstopka$ php artisan baum:install nace_categories -vvv 


    [ReflectionException]    
    Class path.database does not exist 


Exception trace: 
() at /Users/marekstopka/prace/myBusinessSuite/myDWH/vendor/illuminate/container/Container.php:738 
ReflectionClass->__construct() at /Users/marekstopka/prace/myBusinessSuite/myDWH/vendor/illuminate/container/Container.php:738 
Illuminate\Container\Container->build() at /Users/marekstopka/prace/myBusinessSuite/myDWH/vendor/illuminate/container/Container.php:633 
Illuminate\Container\Container->make() at /Users/marekstopka/prace/myBusinessSuite/myDWH/vendor/laravel/lumen-framework/src/Application.php:205 
Laravel\Lumen\Application->make() at /Users/marekstopka/prace/myBusinessSuite/myDWH/vendor/illuminate/container/Container.php:1178 
Illuminate\Container\Container->offsetGet() at /Users/marekstopka/prace/myBusinessSuite/myDWH/vendor/baum/baum/src/Baum/Console/InstallCommand.php:111 
Baum\Console\InstallCommand->getMigrationsPath() at /Users/marekstopka/prace/myBusinessSuite/myDWH/vendor/baum/baum/src/Baum/Console/InstallCommand.php:88 
Baum\Console\InstallCommand->writeMigration() at /Users/marekstopka/prace/myBusinessSuite/myDWH/vendor/baum/baum/src/Baum/Console/InstallCommand.php:64 
Baum\Console\InstallCommand->fire() at n/a:n/a 
call_user_func_array() at /Users/marekstopka/prace/myBusinessSuite/myDWH/vendor/illuminate/container/Container.php:507 
Illuminate\Container\Container->call() at /Users/marekstopka/prace/myBusinessSuite/myDWH/vendor/illuminate/console/Command.php:169 
Illuminate\Console\Command->execute() at /Users/marekstopka/prace/myBusinessSuite/myDWH/vendor/symfony/console/Command/Command.php:256 
Symfony\Component\Console\Command\Command->run() at /Users/marekstopka/prace/myBusinessSuite/myDWH/vendor/illuminate/console/Command.php:155 
Illuminate\Console\Command->run() at /Users/marekstopka/prace/myBusinessSuite/myDWH/vendor/symfony/console/Application.php:791 
Symfony\Component\Console\Application->doRunCommand() at /Users/marekstopka/prace/myBusinessSuite/myDWH/vendor/symfony/console/Application.php:186 
Symfony\Component\Console\Application->doRun() at /Users/marekstopka/prace/myBusinessSuite/myDWH/vendor/symfony/console/Application.php:117 
Symfony\Component\Console\Application->run() at /Users/marekstopka/prace/myBusinessSuite/myDWH/vendor/laravel/lumen-framework/src/Console/Kernel.php:69 
Laravel\Lumen\Console\Kernel->handle() at /Users/marekstopka/prace/myBusinessSuite/myDWH/artisan:35 

Mareks-MacBook-Air:myDWH marekstopka$ 

我已經加入

$app->withFacades(); 
$app->withEloquent(); 
$app->register(Baum\Providers\BaumServiceProvider::class); 

進入我的bootstrap/app.php啓用Facades和Eloquent並註冊Baum服務提供商

我也做了composer updatecomposer dump-autoload

有沒有人有使用Baum嵌套樹與流明框架的經驗?

回答