question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

spawnSync clang-format ENOENT

See original GitHub issue

Hello.

I installed your great extension. However always when i use Ctrl + Shift + I I get this error: spawnSync clang-format ENOENT

OS: Linux Mint 19.1 VSCode 1.32.1 (Latest version)

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

9reactions
sunwgitcommented, May 6, 2019

macos: brew install clang-format linux: sudo apt install clang-format

1reaction
jpreesecommented, Jun 18, 2019

https://marketplace.visualstudio.com/items?itemName=xaver.clang-format

This extension will attempt to find clang-format on your PATH. Alternatively, the clang-format executable can be specified in your vscode settings.json file:

{
    "clang-format.executable": "/absolute/path/to/clang-format"
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

clang-format not found · Issue #41 · zxh0/vscode-proto3 - GitHub
Hello! After each saving proto-file I see message "spawnSync clang-format ENOENT", source vscode-proto3. VSCode version: 1.29.1
Read more >
Developers - clang-format not found - - Bountysource
Hello! After each saving proto-file I see message "spawnSync clang-format ENOENT", source vscode-proto3. VSCode version: 1.29.1
Read more >
vscode-proto3 - Open VSX Registry
Some users consistently see an error like spawnsync clang-format enoent when they save. This happens when the “formatOnSave”-setting is enabled in VSCode ...
Read more >
VS Code Error: spawn git ENOENT - Stack Overflow
We need to install Git to use the Git History (git log) extension in VS Code. Otherwise we will see this when running...
Read more >
vscode-proto3 利用時に `spawnSync clang-format ENOENT`
こちらを割と使っていたのですが、いつの間にか spawnSync clang-format ENOENT というエラーが出るようになってしまいました。ver. は 0.2.2。
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found