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

env: bash: Argument list too long #1170

Open
DBelka opened this issue Jun 5, 2024 · 3 comments
Open

env: bash: Argument list too long #1170

DBelka opened this issue Jun 5, 2024 · 3 comments

Comments

@DBelka
Copy link

DBelka commented Jun 5, 2024

Description
After running the onelinesetup from my terminal it seems to download all the files, but during the execution it exits after a while saying "env: bash: Argument list too long". Upon an investigation, I've noticed the path seems a bit weird and unusually long.

Screenshot 2024-06-05 at 17 23 50

Steps To Reproduce

  1. Create folder
  2. run the onelinesetup

Expected Result
Start the installation process.

Actual Result
Errors out with a message: env: bash: Argument list too long

@YevhenZvieriev
Copy link
Contributor

Hi, @DBelka

Could you let me know if you're sure you use the correct oneliner?

Try this one to install Magento 2.4.7:

curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup | bash -s -- magento.test 2.4.7 community

@DBelka
Copy link
Author

DBelka commented Jun 24, 2024

Hi @YevhenZvieriev ,
I've figured out what the problem was. The root cause was my Ruby on Rails path in my ZSH terminal. Once I commented out the path, it worked like a charm. Not an ideal solution, but a solution nonetheless.

Thanks for trying to help!

@yunyit
Copy link

yunyit commented Sep 2, 2024

I have the same env: bash: Argument list too long issue ... still working on it :(

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

3 participants