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 を使用して Laravel プロジェクトに phpspec をインストールしましたが、実行しようとすると次のphpspecエラーが発生します。
phpspec
Could not open input file: /cygdrive/c/development/myproject/vendor/phpspec/phpspec/bin/phpspec
からエイリアスなしで実行しようとすると同じですvendor/bin/phpspec
vendor/bin/phpspec
私は何が欠けていますか?
このパスにいると思います。そうでない場合はナビゲートしてください
/cygdrive/c/開発/myproject/
はいの場合は、ベンダー内の phpspec のフル パスを入力します。
$ ベンダー/phpspec/phpspec/bin/phpspec
例えば:
$ vendor/phpspec/phpspec/bin/phpspec --version
そこにphpspecのバージョンが表示されます。