LoginSignup
2
1

More than 5 years have passed since last update.

Laravel5.1でPHPUnitのPermission denied

Posted at

Laravel5.1にて

$ ./vendor/bin/phpunit
コマンドを実行するとPermission deniedになってしまいました。

調べると、Laravelインストーラのバグだとの情報があり、composerで再インストールしてみましたがうまくいきませんでした。
結局

$ php ./vendor/bin/phpunit

として実行することで動きました。
すごく単純な解決方法ですが、迷ったのでメモ。

環境

macOS 10.12 Sierra
Vagrant
Scotchbox3.0
Laravel5.1

参考

how to fix permission denied while running vendor/bin/phpunit in a laravel project
Laravelインストーラーでプロジェクトを作成するとphpunitが“Permission denied”になる

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1