Missing Package Manifest Error

I’m stumped over this error I’ve been having pretty much since the beginning where I’ve been using Home Assistant and ESPHome.

The relevant section of code is:

esp32:
  board: esp32dev
  framework:
    type: arduino
    version: 2.0.6

This configuration “works” but generates an error:

“WARNING The selected Arduino framework version is not the recommended one. If there are connectivity or build issues please remove the manual version.”

If I remove it altogether:

“MissingPackageManifestError: Could not find one of ‘package.json’ manifest files in the package”

I also tried changing “version: 2.0.6” to “version: latest” but it still generates the error:

“WARNING The selected Arduino framework version is not the recommended one. If there are connectivity or build issues please remove the manual version.”

Web searches suggest deleting various directories but I’m not finding these directories when I go into the Terminal Server.

I’m running Home Assistant as a VM on server hardware that’s running Windows 2019 Server as the base OS.

I used haos_ova-10.3.vhdx as the virtual hard disk for Home Assistant.

Can someone point me in the right direction to solve this issue?

Thanks in advance.