ValueError: Invalid simple block on esp32

I have a project with ESP32 that worked for a few days.
After searching for issues and including libraries, as #include ESPAsyncWebServer, AsyncTCP nothing works any more.
Error: ValueError: Invalid simple block ’ ESP Async WebServer’
defines:

#include <Arduino.h>

#include <WiFi.h>
#include <AsyncTCP.h>
#include <ESPAsyncWebServer.h>
#include "SPIFFS.h"
#include <Arduino_JSON.h>

// Create AsyncWebServer object on port 80
AsyncWebServer server(80);
AsyncWebSocket ws("/ws");

ini:

[env:featheresp32]
platform = espressif32
board = featheresp32
framework = arduino

board_build.filesystem = littlefs
platform_packages =
   platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git
	
lib_compat_mode = off
lib_ldf_mode = deep
lib_deps = 
  me-no-dev/AsyncTCP@^1.1.1
  me-no-dev/ESP_Async_WebServer@^1.2.3
  khoih-prog/WebSockets2_Generic@^1.10.3

I have the newest version of pio.
The same code compiles well in the arduino IDE

Unfortunatly, the same error now occurs with every simple Blinky example without any additional libraries.
Is there a way to clean the pio?

That’s not a valid lib name. Per PlatformIO Registry it has to be

   me-no-dev/ESP Async WebServer@^1.2.3

Remove the .pio folder for a clean rebuild too.

Thanks, solved THIS problem
I had to replace the include WiFi.h with esp_wifi.h