platformio / platformio-docs

PlatformIO Documentation
https://docs.platformio.org
Apache License 2.0
240 stars 326 forks source link

Add pio upgrade commands to error message #189

Closed joshka closed 3 years ago

joshka commented 3 years ago

If an earlier version of PlatformIO is installed than the most current version, several terminal commands emit:

Obsolete PIO Core v5.1.0 is used (previous was 5.1.1)
Please remove multiple PIO Cores from a system:
https://docs.platformio.org/page/faq.html#multiple-platformio-cores-in-a-system

This updates the FAQ to add information on how to upgrade the core.

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

ivankravets commented 3 years ago

Obsolete PIO Core v5.1.0 is used (previous was 5.1.1)

How it is possible? How did you use 5.1.1 and later faced with 5.1.0?

joshka commented 3 years ago

I don't know exactly how this happened. I think it may have been a conflict between a system installed version and the version installed in VS-Code? Regardless, it was difficult to understand that the fix was to upgrade platform.io from the error message output / FAQ, which this PR aims to address.

ivankravets commented 3 years ago

Yes, please remove multiple PIO Cores from the system. I can't imagine how many issues you will face having multiple PlatformIO Cores. https://docs.platformio.org/page/faq.html#multiple-platformio-cores-in-a-system