Hi … I am using VSCode, and for some reason I am now seeing “There are task errors. See the output for details.” … where this is the output info:
Error: The PlatformIO task detection didn’t contribute a task for the following configuration:
{
“type”: “PlatformIO”,
“task”: “Build”,
“problemMatcher”: [
“$platformio”
],
“group”: “build”,
“label”: “PlatformIO: Build”
}
Have you seen this before? I cleaned out the PC of all VSCode stuff and .platform stuff, and reinstalled the IDE and PlatformIO – it’s still there. The code does compile/build/upload, and works fine, but the error pops up and is annoying (and I haven’t had this problem before, though it may be related to an install of Espressif’s IDE which I played with to program the ESP32-S3, but it’s super slow and “dumb”. This error seems to have appeared after that, but I completely removed it along with everything else, and did a clean install of VSCode and PlatformIO– same thing appears)
I’ve tried different devices in the platformio.ini, and it still shows that result. This is an example of the that (showing the 2 I tried using a standard 36 pin ESP32 module (tried a different module – same thing:
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
;[env:esp-wrover-kit]
;platform = espressif32
;board = esp-wrover-kit
;framework = arduino
;monitor_speed = 115200
Any ideas? Thanks !
Hi.
I’m sorry, but I never faced that issue before.
I have no idea what might be causing that.
Maybe it’s better to ask on the platformIO forum.
Regards,
Sara
… the problem turned out to be a corrupted project. I have 16 projects in a VScode workspace, and 1 of them was the culprit. Strangely, it compiled, uploaded and worked fine, but there was something PlatformIO didn’t like about it (maybe I had aborted the compile too soon – I remember doing that to one project – shouldn’t have done that?). I removed that project from the workspace, then put it somewhere else, then created a new project with the same name, copying the main and data files from the relocated project, adding it to the workspace, and voila, the error went away :–) happy camper !
… a corrupted project (the platformIO blog didn’t really have the answer but it stimulated my exploring projects).
You can mark this as resolved. Thanks.