Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚使用 composer 将 phpspec 安装到了我的 Laravel 项目中,但是当我尝试运行时,phpspec我收到了这个错误:
phpspec
Could not open input file: /cygdrive/c/development/myproject/vendor/phpspec/phpspec/bin/phpspec
当我尝试在没有别名的情况下运行它时是一样的vendor/bin/phpspec
vendor/bin/phpspec
我错过了什么?
我假设你在这条路上,如果不是,请导航
/cygdrive/c/development/myproject/
如果是,那么您在供应商内点击了 phpspec 的完整路径:
$ 供应商/phpspec/phpspec/bin/phpspec
例如:
$ 供应商/phpspec/phpspec/bin/phpspec --version
将在那里显示您的 phpspec 版本。