New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intermittent can't build issue, shows "Configure a Task" popup list #2554
Comments
And we've got another one with same issue: https://community.platformio.org/t/esp8266-non-os-sdk-has-errors-when-building-new-project/21404/5?u=maxgerhardt |
And another one with the same issue: https://community.platformio.org/t/strange-behavior-with-platformio/21515 |
Could you reproduce this issue with the latest VSCode 1.56.2? I'm not sure that this issue is linked with PlatformIO :( Maybe, VSCode broke Tasks API :( |
I continously updated over the last timespan and I'm now at 1.56.2, but even so still experienced the issue today. Again, it was solved by a quick VSCode restart. I don't quite know how to reproduce it, but opening a new project or creating a new project in which some dependencies have yet to be downloaded (like the framework) seems to be triggering it (sometimes?). Maybe I can try and get the logs out of the VSCode developer console the next time it occurs. |
Yes, you will not see tasks until the project indexing process is not completed. You should see a progress bar below. This is very easy to reproduce with ESP-IDF project which is crazy complex and slow due IDF and its 1Gb source files. |
However, at some point the process is done and when the "Refresh project tasks" button is used, the tasks refresh correctly in the "project tasks" panel, but clicking on "Build" will still result in the popup that no task was found. This is something I definitely observed. |
This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions. |
Me and multiple people in the community forum are hitting an issue that pressing the "Build" button, either in the sidebar or at the bottom taskbar, does not trigger a
pio run
build but just a VSCode popup asking to configure tasks.When further clicking on "PlatformIO"
This occurs in e.g.
So, 4 people total in a very short timespan recently.
At first the fault was intermittent for me and I thought it was related to
But then intermittently it started working again with all those latest versions, now I'm hitting the same issue again in a new ESP-IDF project.
I've also tried using the "Refresh Project Tasks" button so that PlatformIO maybe contributes tasks again, but it doesn't change it.
What just helped was restarting VSCode though and I can build again... Very intermittent issue :(
VSCode version
System info
Extensions
The text was updated successfully, but these errors were encountered: