platformio / platformio-vscode-ide

PlatformIO IDE for VSCode: The next generation integrated development environment for IoT
https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide
Apache License 2.0
1.2k stars 192 forks source link

WinError 5 - Access denied #3966

Open inF1704 opened 6 months ago

inF1704 commented 6 months ago

I have three Win10 PC - on one PC Platformio is running fine and on two of them I get this error:

`Resolving esp32-s3-devkitm-1 dependencies... Already up-to-date. Updating metadata for the vscode IDE... UserSideException: Processing esp32-s3-devkitm-1 (platform: espressif32; board: esp32-s3-devkitm-1; framework: arduino)

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-s3-devkitm-1.html PLATFORM: Espressif 32 (6.5.0) > Espressif ESP32-S3-DevKitM-1 HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash DEBUG: Current (esp-builtin) On-board (esp-builtin) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES:

I tried to exclude Phyton from Windows Defender, disabled all Antivirus Tools and tried starting vs code as admin. Also reinstalled the same way as I did on the one PC where it is running fine. Also checked permissions. No solution found and I don´t understand why it is running on one pc only?!

inF1704 commented 6 months ago

I found out that removing lib_extra_dirs = ../../ in platformio.ini removed the issue.