Troubleshooting

Usage

This document provides steps to troubleshooting the common setup problems our teams have encountered.

Windows WSL2

“The executable code is not found in path”

Reconfigure WSL launch configuration file. Both WSL and WSL2 use the same configuration file /etc/wsl.conf. Open Windows terminal and shutdown wsl wsl --shutdown in administator mode and then open up /etc/wsl.conf in root.

$ sudo vim /etc/wsl.conf


# Add, save and quit

[interop]
appendWindowsPath=False

Verify /AppData/Local/Programs/Microsoft VS Code/bin is part of your $PATH. If not, append the following to your ~/.bash_profile or whatever shell you are using. Rememeber to source the file.

# Replace <YOUR USERNAME> with your Windows username, not the WSL one.
export PATH=$PATH:"/mnt/c/Users/<YOUR USERNAME>/AppData/Local/Programs/Microsoft VS Code/bin"

#Webdev