Open flyasky opened 1 year ago
sorry for that - we really should get better detection using PATH.
For now you can make sure to set the following environment before you start Idea.
JBANG_HOME=C:\Users\User_Name\scoop\apps\jbang\current\
Similar thing for installation via Chocolatey:
C:\Users\olive\no-defender>which jbang
/c/ProgramData/chocolatey/bin/jbang
JBANG_HOME=C:\ProgramData\chocolatey\lib\jbang\jbang-0.116.0
I got errors like:
Cannot run program "jbang" (in directory "C:\Users\User_Name\git\snippets"): CreateProcess error=2, The system cannot find the file specified
Could not execute [C:\Users\User_Name\.jbang\bin\jbang.cmd, template, list] with environment {NO_COLOR=true}. Error=2, The system cannot find the file specified.
Jbang on my system is located here: C:\Users\User_Name\scoop\apps\jbang\current\bin\jbang