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

CRLF line endings cause error on MacOS #9

Closed
mattrossman opened this issue Nov 22, 2022 · 2 comments
Closed

CRLF line endings cause error on MacOS #9

mattrossman opened this issue Nov 22, 2022 · 2 comments

Comments

@mattrossman
Copy link

mattrossman commented Nov 22, 2022

When installing the latest version of this from NPMJS and using it in my Prisma schema, I get the error env: node\r: No such file or directory:

image

It looks like the published file (e.g. dist/cli.js) uses CRLF endings instead of LF which causes issues outside of Windows. Whereas building it locally with LF endings fixes the error.

It'd be helpful to have this published with LF endings, perhaps automated via dos2unix

@Brakebein
Copy link
Owner

Thanks for reporting. With the newest release, it should now work on all platforms.

@mattrossman
Copy link
Author

Thank you! I can confirm it works now on Mac

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

No branches or pull requests

2 participants