question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error on build in version 0.2.1 (VSC-316)

See original GitHub issue

Describe 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

  1. Install ESP-IDF using Windows installer or using the wizard in the vscode-esp-idf extension.
  2. 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:closed
  • Created 3 years ago
  • Comments:29 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jmpmscorpcommented, May 13, 2020

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, 😃

1reaction
mvachacommented, May 12, 2020

@brianignacio5 I’ve just tried it and it fixes the issue for me 😃 Thx for fixing it.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found