Skip to content

Error: 'jbang' not recognized as internal or external command #187

Description

@quintesse

Describe the bug

Image

To Reproduce

Steps to reproduce the behavior:

  1. Create or open a .java file with JBang directives (eg //DEPS)
  2. Make a change and save
  3. Error appears
  4. Exit & Reopen VS Code
  5. No error is showing
  6. Make a change and save
  7. Error re-appears

JBang version

❯ jbang version --verbose
[jbang] [0:270] jbang version 0.137.0
Cache: C:\Users\tako\.jbang\cache
Config: C:\Users\tako\.jbang
Repository: C:\Users\tako\.m2\repository
Java: C:\Users\tako\.jbang\currentjdk [17.0.18]
OS: windows
Arch: x64
Shell: bash
Native Image: false
0.137.0

Additional context

  • JBang is available and is installed in its default location
  • This happens regardless if "jbang.home" is set in the settings or not

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions