2017-10-12 63 views
0

我想在我的新laravel 5.5安装安装航海家包,但我保持借此错误Laravel旅行者包安装错误

(PHP 7.0.22,MySQL的版本14.14 DISTRIB 19年7月5日,在Ubuntu )

[email protected]:~/Desktop/laravel$ php artisan voyager:install --with-dummy 
Setting up the hooks 
Hooks are now ready to use! Go ahead and try to "php artisan hook:install test-hook" 
Publishing the Voyager assets, database, language, and config files 
Copied Directory [/vendor/tcg/voyager/publishable/assets] To [/public/vendor/tcg/voyager/assets] 
Copied Directory [/vendor/tcg/voyager/publishable/database/migrations] To [/database/migrations] 
Copied Directory [/vendor/tcg/voyager/publishable/database/seeds] To [/database/seeds] 
Copied Directory [/vendor/tcg/voyager/publishable/demo_content] To [/storage/app/public] 
Copied Directory [/vendor/tcg/voyager/publishable/lang] To [/resources/lang] 
Publishing complete. 
Publishing complete. 
Migrating the database tables into your application 
Migration table created successfully. 

    [ErrorException] 
    Undefined index: index_type 

有没有人有一个想法是什么问题?

回答

0

也许你有错误的代码,你写了之前。 在您的应用程序中搜索index_type

0

我还没有写以前在这个项目上的任何代码,我只是创造了一个新鲜的composer create-project laravel/laravel voyager命令之后,我运行composer require tcg/voyager上介绍有https://github.com/the-control-group/voyager 设置我的新创建的项目,然后我运行php artisan voyager:install但不工作