Skip to content

Server terminated early with status 2 using Ubuntu Server #1173

@arifkk0313

Description

@arifkk0313

Product

cli

Product Version

4.8.4

Latest Version

  • I have tested the issue with the latest version of the product

Issue Description

Expectation

When running the accessibility check with axe-cli in an Ubuntu server environment, the tool should complete successfully and return accessibility report data.

Actual

The server terminates early with status code 2 when trying to run axe-cli on Ubuntu.

Error message:
Error: Server terminated early with status 2
at /home/ubuntu/.npm/_npx/e003b6b07d062486/node_modules/selenium-webdriver/remote/index.js:256:70
at process.processTicksAndRejections (node/process/task_queues:95:5)

How to Reproduce

Running axe-cli in an Ubuntu server environment with the following command or similar:

const result = spawnSync(
  "npx",
  ["@axe-core/cli", "-q", "-j", "--chrome-path", chromePath, url],
  { encoding: "utf-8" }
);

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions