Skip to content

Unable to lint MDX files; mdx2vast not found #62

@anaxite

Description

@anaxite

Description

Vale recently added support for linting MDX files. Linting MDX files requires the mdx2vast npm package to be installed and available on the system PATH.

When Vale VSCode executes Vale and mdx2vast is installed globally, Vale is unable to find mdx2vast:

:0:0: E100 [lintMDX] Runtime error mdx2vast not found Execution stopped with code 1.

However, running Vale standalone works correctly, finds mdx2vast, and lints the files.

Environment

VS Code

Version: 1.99.3
Commit: 17baf841131aa23349f217ca7c570c76ee87b957
Date: 2025-04-15T23:18:46.076Z
Electron: 34.3.2
ElectronBuildId: 11161073
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Extension

Vale VSCode version 0.30.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingonlydust-waveContribute to awesome OSS repos during OnlyDust's open source week

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions