This just means that your server or container doesn’t have npx installed. You either need to install it in your Dockerfile or .gitlab-ci.yml script, or use a different image for that job.
Actually, npx is installed because when i try with npx --version, it works fine, I run npm i before all these CLIs, and also there are other CLI executed fine using npx before this one :
docker-compose run e2e npx playwright install
docker-compose run e2e npx vue-cli-service build
@snim2 so what i need to achieve withing this command is to launch localhost on port 8080, and then execute automated tests on it all that in docker-compose, it’s working as expected on my local but when it cames to ci/cd it’s not the case
TBH because it’s quite a complex command, personally I’d write a shell script and just call the script from your .gitlab-ci.yml file. That way you don’t need to worry about anything that’s GitLab-specific.