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

Run into an error of "‘node\r’: No such file or directory" with Cypress 9.3.0 #19747

Closed
weareoutman opened this issue Jan 19, 2022 · 6 comments
Labels
type: bug type: regression A bug that didn't appear until a specific Cy version release

Comments

@weareoutman
Copy link
Contributor

weareoutman commented Jan 19, 2022

Current behavior

With the latest version of Cypress 9.3.0, an error of ‘node\r’: No such file or directory will occur when running cypress, while no errors for previous versions.

Desired behavior

No response

Test code to reproduce

See the failed GitHub Action: https://github.com/easyops-cn/next-core/runs/4861762531?check_suite_focus=true

Cypress Version

9.3.0

Other

No response

@robbtraister
Copy link

I just ran into the same issue. It seems as though the bin file is now using windows line-endings.

@n3ps
Copy link

n3ps commented Jan 19, 2022

We just ran into this too. v9.3.0 definitely broke our CI pipeline.

Pinned to v9.2.1 for now and its working again.

@ryota-murakami
Copy link
Contributor

same here
OSX 11.6 Node v16.13.0

@mjhenkes mjhenkes added type: bug type: regression A bug that didn't appear until a specific Cy version release labels Jan 19, 2022
@mjhenkes
Copy link
Member

I can confirm that some how the package got released with a CRLF line endings in the bin file instead of LF line endings.

This is exactly the problem we're seeing.

https://stackoverflow.com/questions/30344858/node-script-executable-not-working-on-mac-env-node-r-no-such-file-or-directo

@tbiethman
Copy link
Contributor

cypress@9.3.1 has been released correcting this issue. Thank you for your patience everyone.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jan 19, 2022

Released in 9.3.1.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v9.3.1, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Jan 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug type: regression A bug that didn't appear until a specific Cy version release
Projects
None yet
Development

No branches or pull requests

6 participants