Score:0

I have installed the composer directly by the terminal

jp flag

I'm getting the error of this and i'm on ubuntu 20.04 LTS

[Composer\Downloader\FilesystemException]                                    
  Filesystem exception:                                                        
  Composer update failed: "/usr/local/bin/composer" could not be written.      
  rename(/home/smiley/.cache/composer/composer-temp5193870.phar,/usr/local/bin/composer): Permission denied  

i was searching on google and stack but some i tried not working please help thanks in advance

in flag
Are you trying to run a CLI-based PHP script?
Score:1
jp flag

Run composer update with admin privileges

sudo composer self-update
warmwhisky avatar
ci flag
I have composer 2.1.9 installed `sudo composer self-update` = `sudo: composer: command not found`
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.