gevorg / htpasswd

Node.js package for HTTP Basic Authentication password file utility.
MIT License
58 stars 10 forks source link

Carriage return error on OSX Yosemite #4

Closed bencooling closed 9 years ago

bencooling commented 9 years ago

Installed through npm on OSX Yosemite. When I type htpasswd command, I get an error regarding a carriage return?

htpasswd
> env: node\r: No such file or directory
gevorg commented 9 years ago

Thank You, please recheck.

bencooling commented 9 years ago

Great thanks a lot :-)

dharapvj commented 8 years ago

Hello, I am getting the same error on Ubuntu.

$ htpasswd users.htpasswd devuser
/usr/bin/env: ‘node\r’: No such file or directory

Environment Details:

cmsuser@CMS-REST-Provider:~/cms/data$ node -v
v6.2.2
cmsuser@CMS-REST-Provider:~/cms/data$ npm -v
3.9.5

I connect to ubuntu machine via Putty on windows.. (if that matters)

gevorg commented 8 years ago

@dharapvj thanks for reporting, fixed and published to npm.