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

JBang installed via scoop fails to run #111

Closed
yostane opened this issue Dec 7, 2023 · 3 comments
Closed

JBang installed via scoop fails to run #111

yostane opened this issue Dec 7, 2023 · 3 comments

Comments

@yostane
Copy link

yostane commented Dec 7, 2023

Hi,

I have installed JBang using scoop and the JBang command works. However, VScode does not seem to detect it. The error message says that the specified file is not found.

image

"jbang.home": "C:\\Users\\user\\scoop\\apps\\jbang\\current"

get-command jbang

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
ExternalScript  jbang.ps1                                                     C:\Users\user\scoop\apps\jbang\current\bin\jbang.ps1

JBang-vscode extension version: v0.9.0

 code --version
1.84.2
jbang --version
0.113.0

BR 😄 ,

@fbricon
Copy link
Collaborator

fbricon commented Dec 8, 2023

can you show the output of

dir C:\Users\user\scoop\apps\jbang\current\bin\

@fbricon
Copy link
Collaborator

fbricon commented Dec 8, 2023

I haven't tested with scoop, but I kinda remember chocolatey-installed jbang worked (I'm on a Mac)
Until it's fixed, you can try chocolatey or manually installed jbang

@fbricon fbricon changed the title First character of first line of java file highlighted in red JBang installed via scoop fails to run Dec 8, 2023
@fbricon
Copy link
Collaborator

fbricon commented Dec 8, 2023

This was fixed with jbangdev/jbang-eclipse#73

jbang-vscode 0.10.0 was just released to the marketplace, please update.

@fbricon fbricon closed this as completed Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants