Why is no platformio.ini file being created by new project wizard?

Is any antivirus active that could interfere? I’m running out of ideas.

I’ve tried turning off all anti-virus shields etc, but it made no difference.

You could file an issue in Issues · platformio/platformio-core · GitHub requesting more help.

This is getting pretty disheartening…

Thanks for your help. If you have any other thoughts/ideas that I should try, please let me know.

In the meantime, I’ll lodge an issue on GitHub

Could you try the following steps?

  1. Close VSCode
  2. Remove C:\Users\Peter's Workshop\.platformio folder
  3. Create C:/.platformio folder
  4. Start VSCode, and wait while PlatformIO IDE completes the installation
  5. Create a test project somewhere OUTSIDE C:\Users\Peter's Workshop\ path, for example, in C:/PlatformIOProjects.

Does it work now?

OK, here’s the results…Step by step.

Please forgive me, it’s a bit long winded, but maybe there’s a clue in there somewhere.

  1. OK
  2. OK, done
  3. OK, done
  4. OK, started VSCode, but no automatic install of PlatformIO IDE, as it seems step 4 is suggesting. So clicked on the extensions tab inside VScode and selected PlatformIO IDE. This provided the option to uninstall or install another version. :confused: So I choose to uninstall PlatformIO IDE and then install anew. Now it reported Platformio IDE as disabled due to untrusted workspace. I shut down and restated VSCode and PlatformIO began to initialize itself and repopulate the .platformio folder. One more VSCode restart and we’re ready to create a new project.
  5. OK, this worked!!! :smiley: Well done!

As the project is being created, the following screen appears. However in all my previous failed attempts, this screen would just flash by and do nothing.

So the question is, why does this not work in my preferred folders?

Thank you Ivan.

UPDATE: I tested again. This time creating a project in my preferred folder workspace and it now works properly. Go figure…

No idea why it now works, but it does. :roll_eyes:

Thank you Ivan and Max.