Issues using pio and vscode

I’m trying to compile Marlin onto a SKR 1.3 controller board and I keep getting this error cant type the whole error cause it contains links and for some reason new users cant post them…

> Executing task: C:\Users\proje\.platformio\penv\Scripts\platformio.exe run <

Warning! `env_default` configuration option in section [platformio] is deprecated and will be removed in the next release! Please use `default_envs` instead
Can not remove temporary directory `C:\Users\proje\Videos\Marlin 2\.pioenvs`. Please remove it manually to avoid build issues
Processing LPC1768 (platform: https://github.com/p3p/pio-nxplpc-arduino-lpc176x/archive/master.zip; framework: arduino; board: nxp_lpc1768)
----------------------------------------------------------------------------------------------------------------------------------------
[FAILED] Took 9.17 seconds =========================================================================

Environment           Status    Duration
--------------------  --------  ------------
megaatmega2560        IGNORED
megaatmega1280        IGNORED
at90usb1286_cdc       IGNORED
at90usb1286_dfu       IGNORED
DUE                   IGNORED
DUE_USB               IGNORED
DUE_debug             IGNORED
LPC1768               FAILED    00:00:09.169
LPC1769               IGNORED
melzi                 IGNORED
melzi_optiboot        IGNORED
rambo                 IGNORED
sanguino_atmega644p   IGNORED
sanguino_atmega1284p  IGNORED
STM32F1               IGNORED
fysetc_STM32F1        IGNORED
BIGTREE_SKR_MINI      IGNORED
STM32F4               IGNORED
ARMED                 IGNORED
mks_robin             IGNORED
mks_robin_mini        IGNORED
JGAURORA_A5S_A1       IGNORED
black_stm32f407ve     IGNORED
teensy35              IGNORED
malyanm200            IGNORED
esp32                 IGNORED
fysetc_f6_13          IGNORED
linux_native          IGNORED
=================================================================== 1 failed, 0 succeeded in 00:00:09.169 =================================================================== 
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

So have you tried and remove this manually? The .pioenvs folder is from a old version of PlatformIO and should not be created or used anymore. It’s called .pio in never versions.

Have you made sure to run the most recent PlatformIO version and platforms version? There’s a Platforms and updates section in the PIO Home page.

1 Like