简体   繁体   中英

laravel 5.1 phpspec command not found

I'm trying to run phpspec but when I do a command phpspec run inside root project folder it just prints:

-bash: phpspec: command not found

But when I do composer show -i it shows it's installed (because it's in package.json):

phpspec/php-diff                      v1.0.2             A comprehensive li...
phpspec/phpspec                       2.5.3              Specification-orie...
phpspec/prophecy                      v1.6.1             Highly opinionated...

What's wrong?

您可能需要将可执行文件的路径添加到$PATH或者在调用它时...通过phpspec的完整路径来调用它(类似./vendor/bin/phpspec run

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM