codeception error after inserting laravel5 module

瘦欲@ 提交于 2019-12-12 03:36:24

问题


i have installed codeception globally. it works fine when i run codecept run functional command. when i insert laravel5 module into functional.suite.yml as per instruction from codeception website documentation, it gives me error like this.

when i remove laravel5 module codecept run works normally. anyone knows how to tackle that error? should i install codeception locally instead of globally?

Note : i don't use homestead/vagrant


回答1:


This error doesn't seem to be related to Laravel5 module.

Your problem is that you have 2 conflicting versions of PHPUnit installed.

You have PHPUnit 5.2.12 installed in vendor directory, but your global Codeception install is bundled with PHPUnit 4.8.23.

There are 2 ways to solve it:
a) uninstall PHPUnit from your project.
b) install Codeception with Composer.



来源:https://stackoverflow.com/questions/36015950/codeception-error-after-inserting-laravel5-module

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!