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

error of env: node\r: No such file or directory #27

Closed
genshen opened this issue Jul 14, 2021 · 2 comments · Fixed by #30 or #34
Closed

error of env: node\r: No such file or directory #27

genshen opened this issue Jul 14, 2021 · 2 comments · Fixed by #30 or #34

Comments

@genshen
Copy link

genshen commented Jul 14, 2021

Open an issue again.
I installed mr-pdf(v1.0.5) for my mac via yarn tool.
When I run mr-pdf, it gives me an error of env: node\r: No such file or directory.
I just open the mr-pdf script and fount it is doc format (with end line \r\n), not unix format.
I have to convert it to unix format via vim: :set fileformat=unix, which could not be an easy problem if user don't know the file format.


node version: v14.15.5

@kohheepeace
Copy link
Owner

kohheepeace commented Jul 16, 2021

@genshen really thanks for your report. Could you check if it works at v 1.0.6 ?

@genshen
Copy link
Author

genshen commented Jul 16, 2021

I reinstalled v1.0.6, but it is still dos format.
image
But source code in GitHub repo(tag v1.0.6) is unix format (which is guaranteed by Git itself). It there anything wrong when you publishing the package?

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