I followed the directions/videos to install the nRF development environment for VSCode on a Windows machine: https://www.youtube.com/playlist?list=PLx_tBuQ_KSqEt7NK-H7Lu78lT2OijwIMl
I created the Blinky example and it compiled and ran on the nRF52840 Development Kit.
I then tried to build the peripheral_lbs example and ran into errors.
The path in the VSCode Terminal doesn't include all the paths for the nRF toolchain. This is what I find in VSCode Terminal:
C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\
If I go to Toolchain Manger::nRF Connect SDK v2.10::Open command prompt. This is what I get: