when I try to run auto build marlin it fails immediately on
How do i fix this, it never used to fail for thisAre you typing the command platformio run -e <env> by hand in the command prompt or what do you do to trigger it? Looks like a placeholder that wasn’t replaced properly. <env> must be an actual valid environment name.
I haven’t entered it, it just pops up as an error as I run auto build marlin in vsc. Do I need to enter it somewhere?
Then that’s an error in the Auto Build Marlin VSCode extension. If it’s passing the literal command platformio run -e <env> to PlatformIO, there’s nothing PlatformIO can do, because <env> is not a valid environment name with respect to the Marlin project’s platformio.ini.
Bingo. It’s a bug in Auto Build Marlin. Please see this issue and a demand a fix there.
Final answer. The bug in ABM was introduced by a change in VSCode to a new version of Electron that brought in a new version of Chromium that updated the behavior of the DOM function innerHTML. The bug in ABM has now been fixed in version 2.1.82.
