viclovsky / swagger-coverage

Tool which generates full picture of coverage of API tests based on OAS (Swagger) v2 and v3
Apache License 2.0
198 stars 37 forks source link

Trying to run the demo and its giving "no such file or directory" errors #110

Open StingyJack opened 2 years ago

StingyJack commented 2 years ago

I cloned the repo, and opened a powershell prompt and ran bash run.sh and get errors.

PS C:\Users\Andrew\source\repos\swagger-coverage> wsl
 Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.10.102.1-microsoft-standard-WSL2 x86_64)
andrew@Laptop:/mnt/c/Users/Andrew/source/repos/swagger-coverage$ ./run.sh
 /usr/bin/env: ‘sh\r’: No such file or directory
 unzip:  cannot find or open swagger-coverage-commandline/build/distributions/swagger-coverage-commandline-1.0-SNAPSHOT.z.ZIP.or swagger-coverage-commandline/build/distributions/swagger-coverage-commandline-1.0-SNAPSHOT.zip
. /run.sh: line 4: ./swagger-coverage-commandline-1.0-SNAPSHOT/bin/swagger-coverage-commandline: No such file or directory

I tried running the gradlew.bat and it was successful, but the run.sh has the same error. Is there something else I am supposed to be running before this?