Closed maxdavidson closed 8 years ago
I didn't know this issue. I just have released 0.4.2 version with this change.
I haven't unix based system and I can't try it. Tell me know if you test it.
Thanks!
Great, it seems to work now! Thanks!
Great!
The CLI does not work when run on OS X, and probably all Unix-based systems.
This is because dts-bundle.js is using Windows-style CRLF (\r\n) line breaks, confusing bash. It doesn't see the hidden character CR (\r) in
#!/usr/bin/env node\r\n
, interpreting it as part of the name. This hidden character must be removed for the file to execute successfully.See https://github.com/npm/npm/issues/4607