Error message looks like this: -bash: phpunit: command not found
If you experience that phpunit is not working you can always try one (or all) of the following:
- Update dependencies
- Delete laravel/vendor (or temporarily rename to OLD_vendor)
- Run composer update (>composer update) (and wait...)
- Update your path by running:
export PATH=/path/to/where/you/have/installed/phpunit/vendor/bin:$PATH
Now it should work and you can try running your command again!
Ingen kommentarer:
Send en kommentar