How to install and use a specific platform version

Looks like your platform-packages are incomplete / broken.

  • Close VS Code
  • Delete the content of %USERPROFILE%\.platformio\packages
  • Restart VS Code and open your project
  • Wait until PlatformIO reinstalled the missing files