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

/usr/bin/env: 'php\r': No such file or directory #84

Open
hagertyelliot opened this issue Apr 1, 2019 · 1 comment
Open

/usr/bin/env: 'php\r': No such file or directory #84

hagertyelliot opened this issue Apr 1, 2019 · 1 comment

Comments

@hagertyelliot
Copy link

When trying to run ./magento on an existing Magento project I get the following error:

/usr/bin/env: 'php\r': No such file or directory

@pdwjun
Copy link

pdwjun commented Dec 30, 2019

When trying to run ./magento on an existing Magento project I get the following error:

/usr/bin/env: 'php\r': No such file or directory

This is because there is a "\r" in the first line. Try this command
tr -d '\15' <magento> ./magento2
mv magento2 magento

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