I want to install a git dependency with cmd haxelib --never git thx.core https://github.com/fponticelli/thx.core.git
. It works ok. But if I run it with a npm script it fails:
package.json
...
"scripts": {
"haxelib:install": "haxelib --never git thx.core https://github.com/fponticelli/thx.core.git"
},
...
cmd: npm run haxelib:install
Error: Could not clone Git repository.