We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
spawnSync markdownlint ENOENT
I have a bug with Linter and Markdownlint.
I'm on Windows and I've installed Markdownlint using npm install -g markdownlint-cli, but I get this error:
npm install -g markdownlint-cli
Error while running "markdownlint": spawnSync markdownlint ENOENT
I restarted my machine, just in case, but same error.
Here's the whole output (regarding markdownlint, not the other linters, which are not installed anyway):
Linter config: { "capabilities": [ "fix-inline" ], "command": [ "markdownlint", "--json", [ "$fixAll", "--fix" ], [ "$config", "--config", "$config" ], "--stdin" ], "configFiles": [ ".markdownlint.json", ".markdownlint.yaml", ".markdownlint.yml", ".markdownlintrc" ], "enabled": true, "languages": [ "markdown" ], "name": "markdownlint", "url": "https://github.com/DavidAnson/markdownlint" } Args: { "$rootDir": "c:\\path\\to\\root\\dir", "$file": "/c:/path/to/file.md", "$extension": ".md", "$extensionBare": "md", "$config": "", "$debug": false, "$lint": true, "$language": "markdown", "$shebang": "" } { "rootDir": "c:\\path\\to\\root\\dir", "configFile": "", "command": [ "markdownlint", "--json", "--stdin" ] } Error while running "markdownlint": spawnSync markdownlint ENOENT markdownlint's command took 4ms
(I only edited the paths for privacy reasons)
I used cmd to run markdownlint --json --stdin < c:/path/to/file.md (without the leading / in the file path), and it worked as expected.
cmd
markdownlint --json --stdin < c:/path/to/file.md
/
The text was updated successfully, but these errors were encountered:
Apparently ENOENT means "ENOENT No such file or directory (POSIX.1-2001)" (source: https://www.man7.org/linux/man-pages/man3/errno.3.html)
Sorry, something went wrong.
No branches or pull requests
I have a bug with Linter and Markdownlint.
I'm on Windows and I've installed Markdownlint using
npm install -g markdownlint-cli
, but I get this error:I restarted my machine, just in case, but same error.
Here's the whole output (regarding markdownlint, not the other linters, which are not installed anyway):
(I only edited the paths for privacy reasons)
I used
cmd
to runmarkdownlint --json --stdin < c:/path/to/file.md
(without the leading/
in the file path), and it worked as expected.The text was updated successfully, but these errors were encountered: