VSCode – write EPIPE error
saleforce, blog, writeepipe, vscode
446
post-template-default,single,single-post,postid-446,single-format-standard,bridge-core-1.0.5,ajax_fade,page_not_loaded,,qode_grid_1300,qode-theme-ver-18.1,qode-theme-bridge,disabled_footer_bottom,wpb-js-composer js-comp-ver-6.0.2,vc_responsive

VSCode – write EPIPE error

VSCode – write EPIPE error

This article focuses on a Windows fix. Uncrustify is one of the main code formatter being used for Salesforce development. It has been working fine so far but after a recent update for some reason, it stopped working. We started getting this error:

This happens due to missing Path to the uncrustify folder. Assuming you already have uncrustify installed as an extension on VsCode, the solution to this issue can be:Find where uncrustify is installed on your machine, on a Windows 10 OS, the default location is : C:\Users\Admin\AppData\Local\MetaPkg\uncrustify

  • Open your Environment variables
  • Add path to uncrustify to windows PATH and click save.

Go back to VsCode and try to use uncrustify again. This should resolve the Write EPIPE error on VS Code.

Written by
Lovyash Chauhan