S
S
survivor20052021-09-12 09:41:43
Composer
survivor2005, 2021-09-12 09:41:43

Why are packages not installed in laravel via Composer?

I can not understand what happened and how to treat. I stopped installing packages through the composer, I use openServer. Everything was fine, everything was installed, and then bam and that's it, it gives an error.
613da04b1bcbc450852257.png

I started to google, but they write mainly for lincus systems, they say to give rights to the folder. I work in Windows and the rights are all admin.
613da100029f2735712760.png
Can anyone come across?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
survivor2005, 2021-09-12
@survivor2005

In short, I found the answer, I myself am essentially to blame, I tried to register the composer in environment variables. As a result, after deleting the record, everything went as it should.

A
Alexander Lamdan, 2021-09-12
@alexander_lamdan

Just use the Linux terminal on the folder with the project:
chmod 775 -R /dir/ or chmod 777 -R /dir/
777 if you have given rights only to a user who is not root.
for example: chown $USER:$USER -R /dir/
ls -l
and you can see that now your project sits purely under your user.
I advise you to use this option with the user only on your local computer. on a server it is better to make a user without access to system folders

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question