Answer the question
In order to leave comments, you need to log in
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.
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.
Can anyone come across?
Answer the question
In order to leave comments, you need to log in
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.
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 questionAsk a Question
731 491 924 answers to any question