I can't install, help me!

williams01

Dec 21st, 2019 09:27 PM

Hello,

When i try to composer install, i m getting this error...

'' Do not run Composer as root/super user! See https://getcomposer.org/root for details ''

What i need to do ? Help me.

Thanks

tnylea

Dec 27th, 2019 01:59 AM

You should be fine even with that error, but technically it's saying that you shouldn't be the root user when running composer install.

williams01

Dec 27th, 2019 12:25 PM

Could you help me please? I dont know how i can do install...

parvezalam-kaliya

Dec 28th, 2019 11:44 AM

sudo composer clear-cache

sudo composer -vvv

sudo composer self-update

sudo composer diagnose

if you face any error than there will be command shown run that command and run diagnose again

sudo composer config -g repo.packagist composer https://packagist.org

https://linuxize.com/post/how-to-install-and-use-composer-on-ubuntu-18-04/

//Important Note Shouldn't this be https://repo.packagist.org now instead of https://packagist.org? I've seen a lot of people refer to this comment as an official solution blessed by Composer's maintainer. It may be a good idea to update it after switching to repo.packagist.org.

williams01

Dec 29th, 2019 06:01 PM

Failed again! Can someone please help me personally?