-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Extension thinks that task
is not installed while it is and is up to date
#75
Comments
Hope this issue is getting to be fixed, as I have no wish to use Makefile's again due to this problem. |
Same issue, I installed it from Fedora repository and its binary name is |
Same here. I installed with snap. |
I somehow fixed it with the script between the extension and snap:
#!/usr/bin/bash
set -euo pipefail
task $@ 2>&1 | cat
"task": {
"path": "/<path to task.sh>/task.sh"
} |
@maxhha, it didn't work for me... 😞 |
Hi all, sorry for the delay getting to this. I've taken a look at the code today. There are two places where the
The latter of these should not be causing this error at all, so that will be removed. I'd like to understand which of these two scenarios people here are running into though. Could anyone facing this issue please let me know the following:
Thanks! |
Hey Pete! I also ran into this issue. The output of The output from
So I guess it's an issue with the semver parsing, or the execution of |
Ok so I had some time and decided I could debug it myself. Checked out the repo and added some debugging lines. Apparently after executing This makes no sense, since we see output on the console when we execute the command ourselves, right? There is output from After some search around I stumbled upon a thread golang/vscode-go#166 which appears to describe the same issue. The problem being both vscode and go being installed with snap. And in my case it's because I've installed both vscode and task through snap. Their solution is to set the binary's path to
|
This would explain why I was not able to reproduce. I do not use snap at all. Thanks @XorJoep for doing some research. I'm not sure that there's much we can do about this though. I'm going to leave this open for now as other people in this thread have mentioned package managers other than snap (such as asdf). Hopefully your post helps others. If you have this issue and @XorJoep's post works for you, please let us know. Likewise, if it doesn't work, a comment would be helpful. |
Setting full path to
task
doesn't help:The text was updated successfully, but these errors were encountered: