I resolved the issue.
FIX: do a “pio update”
See post:
The above post led me to the following post which mentioned “pio update”.