Platformeio error

Hello,

I’m wanted to switch to encryption key but I get this odd error when trying to compile my project:

Processing node1 (board: nodemcuv2; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
--------------------------------------------------------------------------------
Error: Could not load broken JSON: /root/.platformio/packages/toolchain-xtensa-esp32/.piopm

I tried a few thing like completely reinstalling platformeio with no luck. Internet is not really helping me on this specific issue. Any idea?

well, nevermind. I managed to solve this by removing .platformio folder after uninstalling it.