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

[Question] cli.js file is saved with windows line breaks #156

Closed
aldoreyes opened this issue Oct 24, 2024 · 2 comments
Closed

[Question] cli.js file is saved with windows line breaks #156

aldoreyes opened this issue Oct 24, 2024 · 2 comments

Comments

@aldoreyes
Copy link

aldoreyes commented Oct 24, 2024

Hello, me again :)

Not sure if this has been reported or if you are aware but the file cli.js is saved with windows line breaks which when executed on unix based hosts it's throwing an error like this env: node\r: No such file or directory
(command executed monocart merge monocart-report/index.json -c mr.config.js)

Which is similar to this yarnpkg/yarn#8106

After I run this command
dos2unix node_modules/monocart-reporter/lib/cli.js

Things start to work again, I can do this on my local machine without a problem but having to do this on pipelines or on every other dev env might be problematic.

@cenfun
Copy link
Owner

cenfun commented Oct 24, 2024

Could you please try [email protected]?

@aldoreyes
Copy link
Author

aldoreyes commented Oct 25, 2024

Thanks that fixed it. Love how you keep up the project.

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