Closed luciomartinez closed 6 years ago
Sorry for the slow response. I'm having a hard time reproducing this. It seems git describe
is throwing an error but I can't figure out in what situation it would throw that particular error. Can one of you run this in the same working directory and as the same user:
git describe --long --dirty=-dirty --always --tags --match 'v[0-9]*'
And then post the output and status code (echo $?
)?
Ah, I just realized what the problem is. This happens when the git executable does not exist or cannot be found in the system path. I will document more clearly that this module actually requires git installed and in your path, and see if I can transform the ENOENT in a better error message.
When on Node, trying to execute the main function it breaks without any error message.
Running on Node v8.10.0 - let me know in case of more information required. Thanks!