naholyr / github-todos

Git hook to convert your TODOs into Github issues

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

/usr/bin/env: node: No such file or directory

afcuttin opened this issue · comments

After installing github-todos, I tryied to authenticate, but I got this error message:

$ github-todos auth
/usr/bin/env: node: No such file or directory

Has it been fixed since? I don't see how it could happen unless node is not in your $PATH maybe.

I assume your probably running Debian Jessie because the latest version of Debian renamed node to nodejs. I fixed it by manually editing the file /usr/local/bin/github-todos.

Not fun, if there is no issue about this in npm, I think this is something that could be fixed on their side (as they already make some platform-specific work for Windows when installing a package with bins).