jbang init -t jbang test
[jbang] [ERROR] Cannot invoke "dev.jbang.resources.ResourceRef.getOriginalResource()" because the return value of "dev.jbang.source.RefTarget.getSource()" is null
[jbang] Run with --verbose or -x for more details. The --verbose or -x must be placed before the jbang command. I.e. jbang --verbose run [...]
happens if file-refs have a file that does not exist, i.e.
"templates": {
"jbang": {
"file-refs": {
"{basename}/{basename}App.java.qute": "templates/jbang/HelloToolkitApp.java",
"{basename}/.gitignore": "templates/jbang/.gitignore",
"{basename}/README.md": "templates/jbang/README.md"
},
"properties": {}
}
}
where HelloToolkitApp.java is missing.
happens if file-refs have a file that does not exist, i.e.
where HelloToolkitApp.java is missing.