Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: CLI-getting "axe: command not found " even after successfully installed CLI #852

Closed
1 task done
padmavemulapati opened this issue Oct 3, 2023 · 8 comments · Fixed by #851
Closed
1 task done
Labels
Blocker Ticket is blocking another ticket PRIORITY: high High priority item; should be scheduled in this or next sprint TYPE: qa bug Bug that was found during the QA process

Comments

@padmavemulapati
Copy link

Product

cli

Product Version

4.7.4-f03670b.0

Latest Version

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

Issue Description

Expectation

After @axe-core/cli installed successfully, axe --help or axe with url should give respective output

Actual

MacBook-Pro:cli dq_user$ axe --version
bash: axe: command not found
MacBook-Pro:cli dq_user$ axe --help
bash: axe: command not found

How to Reproduce

  1. Created a Directory and created a package.json using npm init -y
  2. Insalled axe-core/cli canary version ('npm install @axe-core/cli@next) (Installed gobally using -g and locally both)
  3. Tried to run the command axe --version to make sure correct canary is installed

Issue: its giving

MacBook-Pro:cli dq_user$ axe --version
bash: axe: command not found
MacBook-Pro:cli dq_user$ axe --help
bash: axe: command not found

Additional context

Tried in Windows and MAC both , issue is there on both OS

Environment:

Label Value
Product axe-core-npm
Version 4.7.4-f03670b.0
OS-Details _MAC- Intel Core i7 - 11.6.8 & Windows11 _
BrowserDetails Chrome Version 117.0.5938.88 (Official Build) (64-bit) & Firefox 117.0
@padmavemulapati padmavemulapati added TYPE: qa bug Bug that was found during the QA process Blocker Ticket is blocking another ticket PRIORITY: high High priority item; should be scheduled in this or next sprint labels Oct 3, 2023
@padmavemulapati
Copy link
Author

Verified with the latest fix, now not getting axe not found error.

image

Environment:

Label Value
Product axe-core-npm
Version 4.7.4-62fd241.0
OS-Details _MAC- Intel Core i7 - 11.6.8 & Windows11 _
BrowserDetails Chrome Version 117.0.5938.88 (Official Build) (64-bit) & Firefox 117.0

@davereid
Copy link

We are still seeing this bug with the recent 4.8.0 release as of three hours ago. Do we need another release with this fix?

@davereid
Copy link

You can see on https://www.npmjs.com/package/@axe-core/cli?activeTab=code that the dist directory is still missing. I think this issue needs to be re-opened.

@davereid
Copy link

I can also validate that https://registry.npmjs.org/@axe-core/cli/-/cli-4.8.0.tgz is missing the dist directory from the contents of the tarball.

@dbjorge
Copy link
Contributor

dbjorge commented Oct 12, 2023

Just confirming that we agree this affects 4.8.0 - we've begun a new release process for a v4.8.1 which will contain the fix for this, and we'll be investigating how to avoid this mismatch of which version gets QA tested vs released to prevent issues from accidentally escaping to production like this in the future.

@dbjorge dbjorge reopened this Oct 12, 2023
@dbjorge
Copy link
Contributor

dbjorge commented Oct 12, 2023

Clarification for QA: the fix for this is already merged in #851, which would normally mean we'd have closed this issue. I'm leaving it open for the purposes of users being able to track the outage in the published version. We can close this once we've verified that npx @axe-core/cli@4.8.1 --help is available and working.

@padmavemulapati
Copy link
Author

We have a similar ticket for windows , but when we set the PATH in environment variables it is working as expected. As @dbjorge said, once we have verified the patch release 4.8.1we can close this .

@padmavemulapati padmavemulapati mentioned this issue Oct 13, 2023
20 tasks
@dbjorge
Copy link
Contributor

dbjorge commented Oct 13, 2023

4.8.1 has been released. Verified that it fixes the issue:

> npx -y @axe-core/cli@4.8.1 --version
4.8.1 

@dbjorge dbjorge closed this as completed Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocker Ticket is blocking another ticket PRIORITY: high High priority item; should be scheduled in this or next sprint TYPE: qa bug Bug that was found during the QA process
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants