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.

vscode stuck in fetching buildtasks

See original GitHub issue

Describe the bug With the newest deno upgrade vscode is stuck in fetching build tasks. Everything works, but my deno tasks (from tasks.json) aren’t available, so I can’ run my build scripts using deno from vscode.

To Reproduce

  1. Create a "deno" type build tasks in vscode (tasks.json), like:
{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "build something",
            "type": "deno",

            "command": "run",
            "args": [
                "--unstable",
                "-A",
                "build/compile.ts",
              ],
            "group": "build",
            "problemMatcher":"$deno",
        }
    ]
}
  1. Try to run your build tasks (Ctrl+Shift+B)

Expected behavior Build task discovered by vscode, and able to run it.

Notes: I think this probably has something to do with the tasks implementation in deno lsp. When I downgraded deno back to 1.20.4, everything works fine.

Also I have deno.jsonc files in my project, but have no tasks defined in them.

Versions

vscode: 1.66.1 deno: 1.20.5 extension: 3.12.0

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:3
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dsherretcommented, Jul 22, 2022

Just kicked off a release now. Should be up in half an hour or so.

0reactions
bxantuscommented, Jul 22, 2022

@dsherret: when can we expect a new build which includes this fix? It’s great that the fix is merged, but I still use my own .vsix package, as the latest version still doesn’t include this change… I think it’s worth to create a patch release for this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fetching build tasks never completes · Issue #4638 - GitHub
I have a build task configured in tasks.json and it was working fine for a while. Now though it gets stuck saying "Fetching...
Read more >
Using VSCode for the first time and following a guide ... - Reddit
Using VSCode for the first time and following a guide, but the "fetching build tasks" never completes. ... I've attempted to reboot VSCode...
Read more >
visual studio code - VSCode stuck on "Starting Build...."
I use VSCode along with gcc to compile C code. I was using the same launch.json and tasks.json file last week too but...
Read more >
Documentation for Visual Studio Code
Find out how to set-up and get the most from Visual Studio Code. Optimized for building and debugging modern web and cloud applications....
Read more >
PlatformIO IDE for VSCode — PlatformIO v6.1 documentation
buildTask ¶. The build task (label) that is launched by the “Build” button in the PlatformIO Toolbar and Key Bindings. The ...
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