[英]Codeception install problem - vendor/bin/codecept vendor not recognised as internal… windows10
When I download codeception with composer and run vendor/bin/codecept from project directory, it says vendor not recognized as internal or external program. 当我使用作曲家下载代码接收并从项目目录运行vendor / bin / codecept时,它表示未识别为内部或外部程序的供应商。
There is a folder inside vendor codeception/codeception/codecept bootstrap and it works if I run it from in there but when creating a class test and running the tests I get weird results like isAngularTest....?? 供应商codeception / codeception / codecept引导程序中有一个文件夹,如果我从那里运行它,它会起作用,但是在创建类测试并运行测试时,我会得到类似isAngularTest的奇怪结果。 I have tried quite a few different commands but cant get it to work they way the codeception website indicates or how my lecture says it should.
我尝试了很多不同的命令,但是无法按代码接收网站指示的方式或我的演讲应如何使用它。 I am using windows 10.
我正在使用Windows 10。
You need to run vendor\\bin\\codecept.bat
and not vendor\\bin\\codecept
- the latter one is a Bash script, it won't start in Windows command line. 您需要运行
vendor\\bin\\codecept.bat
而不是vendor\\bin\\codecept
后一个是Bash脚本,它将无法在Windows命令行中启动。
I am not sure why you tagged this question with PhpStorm
, so I'll put this here just in case. 我不知道为什么你标记这个问题
PhpStorm
,所以我就把这个以防万一这里。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.