Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bin file has Windows line endings #7

Closed
dancrumb opened this issue Dec 14, 2022 · 3 comments · Fixed by #8
Closed

bin file has Windows line endings #7

dancrumb opened this issue Dec 14, 2022 · 3 comments · Fixed by #8

Comments

@dancrumb
Copy link

I'm on macOS, and when I try to use tscp, I get the following error:

env: node\r: No such file or directory

This is the classing CRLF vs. LF error and, on inspecting the file, I can see that it has Windows line endings, which the shell can't handle.

I normally use patch-package for these types of things, but it doesn't detect line ending changes, unfortunately.

Possible solution here: npm/npm#12371 (comment)

@bencergazda
Copy link
Contributor

Yes, this should be the case definitely, thanks for the details. I did the latest build on Windows.

I will add newLine: lf to the tsconfig and bump a new version soon.

@bencergazda
Copy link
Contributor

@dancrumb I published 0.1.7 that should fix the problem. Feel free to reopen if the issue persists.

@dancrumb
Copy link
Author

Perfect timing! I was busy struggling through the watchman docs :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants