Hey! Trying to reinstall platformIO on my new computer, and i’m having loads of trouble.
My goal is to write for a NodeMCU ESP8266 using Espressif8266 and the esp12e board
I’m using Win10 Build 19043, VS Code 1.62.2, PlatformIO IDE v2.4.0, and Python 64bit 3.9.5
On my first install, just installing the extension through VS Code, I couldn’t get a project to create in VS Code or through pio home on the command line. I uninstalled PIO (and deleted .platformio) and VS Code, and then reinstalled VS Code. After reinstalling VS Code, PIO wouldn’t install through VS Code at all, always hanging on the installing portable python step, so I installed PIO core through the python install script and then through VS Code and everything installed.
After getting it installed a second time, projects still will not create through VS Code, always hanging on the Project Wizard page (yes, i know you should wait, i’ve let it run for an hour+), however, if i run
pio home through a windows command prompt and then create a project it will actually create no problem, and will appear in VS Code. However, even after creating a project in the browser, upon actually trying to build it in VS Code, I get the error
command platform-ide.build not found
I’ve also tried running
pio update and
pio upgrade, and both completed successfully.
pio run however hangs displaying
Processing esp12e (platform: espressif8266; board: esp12e; framework: arduino)
TL:DR: PIO for VS Code hangs on Project Wizard and won’t create projects, won’t build even if a project is created; running
pio home from command line will let me build a project, but i can’t
pio run or build from VS Code
I hope this is something super simple i’m missing, as PIO worked flawlessly from install on my old rig.