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

wp-headless container: No such file or directory #266

Open
gotestrand opened this issue Apr 1, 2020 · 1 comment
Open

wp-headless container: No such file or directory #266

gotestrand opened this issue Apr 1, 2020 · 1 comment

Comments

@gotestrand
Copy link

Hi,

I've just cloned the repo and installed. When trying to run the wp-headless I get the following error message. Any clue on what to do?

I'm running on windows with linux-containers.

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

@idkdevsa
Copy link

idkdevsa commented May 7, 2020

This usually happens if the file has Windows line endings instead of unix style line endings. Best is to always makes sure you clone into your Linux file system directly, on WSL for example. Alternatively you can use Dos2Unix.

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