Useful or not, from you.

Hi

I am getting these errors whenever i build a newly created project :

Error: The PlatformIO task detection didn't contribute a task for the following configuration: { "type": "PlatformIO", "task": "Build", "problemMatcher": [ "$platformio" ] } The task will be ignored. Error: The PlatformIO task detection didn't contribute a task for the following configuration: { "type": "PlatformIO", "task": "Monitor", "problemMatcher": [ "$platformio" ] } The task will be ignored. Error: The PlatformIO task detection didn't contribute a task for the following configuration: { "type": "PlatformIO", "task": "Build", "problemMatcher": [ "$platformio" ] } The task will be ignored. Error: The PlatformIO task detection didn't contribute a task for the following configuration: { "type": "PlatformIO", "task": "Monitor", "problemMatcher": [ "$platformio" ] } The task will be ignored.

I've deleted tasks.json , nothing changed I've recreated tasks.json and filled it according http://docs.platformio.org/en/latest/ide/vscode.html#task-runner

{"version": "2.0.0", "tasks": [ { "type": "PlatformIO", "task": "Monitor", "problemMatcher": [ "$platformio" ], "presentation": { "panel": "new" } } ] }

Nothing changed, I still receive the same error.

my platformio.ini :

[env:nodemcuv2] platform = espressif8266 board = nodemcuv2 framework = arduino lib_extra_dirs = ~/Documents/Arduino/libraries lib_deps = #ESPArto 5973 #Pubsubclient 89

And for an empty sketch of Arduino UNO, the same thing happens with these messages :

Error: The PlatformIO task detection didn't contribute a task for the following configuration: { "type": "PlatformIO", "task": "Build", "problemMatcher": [ "$platformio" ] } The task will be ignored. Error: The PlatformIO task detection didn't contribute a task for the following configuration: { "type": "PlatformIO", "task": "Monitor", "problemMatcher": [ "$platformio" ] } The task will be ignored. Error: The PlatformIO task detection didn't contribute a task for the following configuration: { "type": "PlatformIO", "task": "Monitor", "problemMatcher": [ "$platformio" ], "presentation": { "panel": "new" } } The task will be ignored.

platformio.ini : [env:uno] platform = atmelavr board = uno framework = arduino

Similar problem report : https://community.platformio.org/t/sudden-task-errors/8492

My PIO extension and vscode are up-to-date PIO : 1.8.1 vscode : 1.36.1

Any help .. ?

*sorry for bad JSON and py formatting, don't know how to properly deal with it.

That's a useful answer
Without any help

Nice, error disappeared for 'build', but it still appears for 'upload' command (ctrl + alt + u).

Error: The PlatformIO task detection didn't contribute a task for the following configuration: { "type": "PlatformIO", "task": "Monitor", "problemMatcher": [ "$platformio" ], "presentation": { "panel": "new" } } The task will be ignored. Error: The PlatformIO task detection didn't contribute a task for the following configuration: { "type": "PlatformIO", "task": "Monitor", "problemMatcher": [ "$platformio" ], "presentation": { "panel": "new" } } The task will be ignored.

To understand better, does this error affect anything?