jbangdev / jbang-vscode

JBang extension for Visual Studio Code
MIT License
12 stars 2 forks source link

JBang installed via scoop fails to run #111

Closed yostane closed 11 months ago

yostane commented 11 months ago

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 commented 11 months ago

can you show the output of

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

fbricon commented 11 months ago

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 commented 11 months ago

This was fixed with https://github.com/jbangdev/jbang-eclipse/pull/73

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