Skip to content
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

[VS Code Extension] Transit Nodes gives turbo:no-such-task error #8577

Open
1 task done
jeniabrook opened this issue Jun 23, 2024 · 0 comments
Open
1 task done

[VS Code Extension] Transit Nodes gives turbo:no-such-task error #8577

jeniabrook opened this issue Jun 23, 2024 · 0 comments
Labels
kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage owned-by: turborepo

Comments

@jeniabrook
Copy link
Contributor

Verify canary release

  • I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

n/a

What package manager are you using / does the bug impact?

pnpm

What operating system are you using?

Mac

Which canary version will you have in your reproduction?

n/a

Describe the Bug

Setting a transit node in the turbo.json file:

"tasks": {
  "topology": {
    "dependsOn": ["^topology"]
  }
}

Raises an error:

The task `topology` does not exist. (turbo:no-such-task)

Screenshot from VS Code:
Screenshot 2024-06-23 at 18 57 26

Expected Behavior

Add a whitelist for the extension that will ignore those special tasks:

"turbo.transitNodes": ["topology"]

Or maybe to detect it automatically (not sure if possible).

To Reproduce

  1. Install Turborepo LSP v1.1.3
  2. Install turborepo v2.0.4
  3. Create in turbo.json a transit node

Additional context

No response

@jeniabrook jeniabrook added kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage owned-by: turborepo labels Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage owned-by: turborepo
Projects
None yet
Development

No branches or pull requests

1 participant