How to fix composer error upgrade version 2.2 - Command "self-update" is not defined in ubuntu18.04

Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=151gfiAuXCk



Category:
Vlog
Duration: 2:02
3,032 views
35


i'm trying to upgrade composer from version 1 to 2 with this script:
composer self-update --2



But got an error like this:
Command "self-update" is not defined.


This video will explains how to fix that error.




Other Videos By Ambar Hasbiyatmoko


2022-06-19How to solve vokoscreen issue on ubuntu 22.04 - Audio recording not implemente
2022-06-18How to fix error installing grafana - the public key is not available: NO PUBKEY 8C8C34C524098CB6
2022-06-11Membuat EFS (Elastic File System) Regional/Multi AZ (Availability Zone) di AWS
2022-06-04Memonitor RAM Usage pada Instance EC2 dengan CloudWatch
2022-06-02Cara install Jenkins di instance EC2 AWS
2022-05-31How to fix Codeigniter 3.1.11 session error - Session is missing after redirect page
2022-05-27Fix php script as systemd service - php warning: fopen: failed to openstream: Read-only file system
2022-05-22Cara Install Sonarqube lewat AWS Marketplace
2022-05-08Membuat EFS (Elastic File System) One Zone/Single AZ di AWS
2022-02-27How to install mongodb php driver(php7.2) through composer and connect by Codeigniter in ubuntu18
2022-02-27How to fix composer error upgrade version 2.2 - Command "self-update" is not defined in ubuntu18.04
2022-02-27How to fix mongodb - Error parsing YAML config file: yamp-cpp error at line 32, illegal map value
2022-02-27How to install mongodb 4.4 in Ubuntu 18.04
2022-02-12Cara Setup Application Load Balancer di AWS
2022-01-30How to fix mysql - mysql server depends on mysql community server 5.7 when installing on Ubuntu 20.4
2022-01-30How to install mysql 5.7 in Ubuntu 20.04.3 LTS
2022-01-04How to fix: pecl install mongodb - ERROR: phpize not found, phpize failed
2021-12-26Wireshark error - Couldn't run usr-bin-dumpcap in child process: Permission denied
2021-12-04How to solve - Package 'python-certbot-apache' has no installation candidate on Ubuntu 20.04
2021-11-28How to solve - require dev mikey179 vfsStream is invalid, it should not contain uppercase characters
2021-11-14Membuat VPS gratis 12 bulan di AWS (Amazon Web Service)



Tags:
composer
upgrade
php
ubuntu
terminal
script
linux
install
error