aws-cloudformation / aws-cloudformation/cfn-lint-visual-studio-code

`cfn-lint: not found` when installed through mise

Open
#467 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
289
Forks
170
PR merge metrics
No merged PRs in 30d

Description

I'm getting the following error:

```sh
[cfn-lint] /bin/sh: 1: cfn-lint: not found

Go to https://github.com/aws-cloudformation/cfn-python-lint/#install for more help
```

![Image](https://github.com/user-attachments/assets/824cd9c9-064b-4490-99d0-76d52ee63460)

The CLI was installed using the following [mise](https://github.com/jdx/mise) command:

```sh
mise use -g pipx:cfn-lint
```

![Image](https://github.com/user-attachments/assets/283d4daa-da85-4a7b-8a1e-d53b9260092b)

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by reproducing the VS Code extension with cfn-lint installed through mise, then trace how the extension resolves and invokes the executable. Done means the extension finds the mise-managed cfn-lint command and linting works without the “not found” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.