0

我正在尝试在我全新的 laravel 5.5 安装上安装 voyager 包,但我一直在接受这个错误

(php 7.0.22,mysql ver 14.14 Distrib 5.7.19,在 ubuntu 上)

jack@jo:~/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

有没有人知道问题出在哪里?

4

1 回答 1

0

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

于 2017-10-14T08:40:03.867 回答