Error on build in version 0.2.1 (VSC-316)
See original GitHub issueDescribe the bug Build randomly fails with error: “Make sure you have the build tools installed and set in $PATH”. After a restart it usually works, but not always. When it fails, there is no message in “ESP-IDF Build” output. The behavior is the same whether esp-idf is installed using the Windows installer or the wizard in the extension.
Downgrading the extension to 0.2.0 solves the problem.
To Reproduce
- Install ESP-IDF using Windows installer or using the wizard in the vscode-esp-idf extension.
- Run either “ESP-IDF: Build your project” task or click the build button in status bar.
Expected behavior Project gets build as ESP-IDF is installed and the extension is correctly configured.
Environment (please complete the following information):
- OS Name & Version: Windows 10 1909
- VSCode Version: 1.44.2
- ESP-IDF Version: 4.0.0
- Python Version: 3.8
Logs
{"user":true,"message":"Make sure you have the build tools installed and set in $PATH","stack":"Error: spawn cmake ENOENT\n\tat Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)\n\tat onErrorNT (internal/child_process.js:456:16)\n\tat processTicksAndRejections (internal/process/task_queues.js:77:11)","level":"error","timestamp":"2020-05-02T20:03:51.383Z"}
Issue Analytics
- State:
- Created 3 years ago
- Comments:29 (3 by maintainers)
Top Results From Across the Web
The bundle version, NNN, must be - Apple Developer
If I upload the macOS version first, I get the error on the iOS version. It's a catalyst app and it's the same...
Read more >asp.net mvc - NuGet Package restore failed for project ...
Based on your error message looks like you are looking for a version that no longer exists and cannot tell which Package source...
Read more >staging failed in the buildpack compile phase BAS | SAP ...
IN BAS: I can't deploy a cloud app since the July sap bas update. my application used the version of node 12.x package.json...
Read more >Installed version not available install error - ISIS Support
Hello,. trying to install 7.0.0 using the anaconda method. After several hours of looking for conflicts, it appears to install, but then at...
Read more >NETSDK1045: The current .NET SDK does not support 'newer ...
Learn about .NET SDK error NETSDK1045, which occurs when the build tools can't find the requested version of the .NET SDK.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OMG… I finally have it… Thanks @mitchjs.
I was compiled and installed master branch, I think, without #95. I have downloaded directly @brianignacio5 bugfix/env-path branch. After compile it, packaged in vsix and installed, now, I haven’t any problem with build and GUI.
Thank you both to help me, 😃
@brianignacio5 I’ve just tried it and it fixes the issue for me 😃 Thx for fixing it.