ernestdefoe
Getting this error for 2nd command -
composer config repositories.floxum canonical true
In JsonConfigSource.php line 278:
Failed to update composer.json with a valid format, reverting to the original content. Please report an issue to us with details
(command you run and a copy of your composer.json).
repositories.floxum.type : Does not have a value in the enumeration ["composer"]
repositories.floxum.type : Does not have a value in the enumeration ["vcs","github","git","gitlab","bitbucket","git-bitbucket","
hg","fossil","perforce","svn"]
repositories.floxum.type : Does not have a value in the enumeration ["path"]
repositories.floxum.type : Does not have a value in the enumeration ["artifact"]
repositories.floxum.type : Does not have a value in the enumeration ["pear"]
repositories.floxum.package : The property package is required
repositories.floxum.type : Does not have a value in the enumeration ["package"]
repositories.floxum : Failed to match at least one schema
repositories.floxum : Object value found, but a boolean is required
repositories.floxum : Does not have a value in the enumeration [false]
In JsonFile.php line 260:
"./composer.json" does not match the expected JSON schema
config [-g|--global] [-e|--editor] [-a|--auth] [--unset] [-l|--list] [-f|--file FILE] [--absolute] [-j|--json] [-m|--merge] [--append] [--source] [--] [<setting-key> [<setting-value>...]]