Although the git repo has unix-style line endings, the version of obj2gltf on npm has Windows line endings. When running the command line tool the extra \r confuses the Linux #! parser:
$ lsb_release -d
Description: Ubuntu 16.04.1 LTS
$ npm install -g obj2gltf
[...]
$ obj2gltf
/usr/bin/env: ‘node\r’: No such file or directory
$ dos2unix ~/.local/node/lib/node_modules/obj2gltf/bin/obj2gltf.js
dos2unix: converting file /home/josh/.local/node/lib/node_modules/obj2gltf/bin/obj2gltf.js to Unix format ...
$ obj2gltf
Usage: ./bin/obj2gltf.js [INPUT] [OPTIONS]
[...]
Although the git repo has unix-style line endings, the version of obj2gltf on npm has Windows line endings. When running the command line tool the extra \r confuses the Linux #! parser: