Skip to content

Can't create a project using composer #191

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

Open
tontm1981 opened this issue May 10, 2025 · 1 comment
Open

Can't create a project using composer #191

tontm1981 opened this issue May 10, 2025 · 1 comment

Comments

@tontm1981
Copy link

I'm in Manjaro Linux 25 and followed installation steps described in readme. Changed workspace location too.
Workspace is empty

Image

When I try to run "composer create-project ..." command, it fails

Image

and changes folder's ownership.

Image

My user and group IDs

Image

seems to be the same as here

How can I use composer command properly or what I need to do to start using your stack for development?

@JeroenBoersma
Copy link
Owner

Hi Ton,

Looks like the php directory was created with the root user. Did you run sudo mkdir php?
It should be possible to run everything as your current user.

It looks like the parent directory workspace is setup correctly.

To change it back: in the php directory sudo chown ton:ton .

The structure is workspace/customer/project, for instance, workspace/ton/magento2
This reflects https://ton.magento2.localhost|test|whateveryounamedit/

Cheers, let me know if it worked

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