Yii2 errors – Failed to clone the git and “extra.asset-installer-paths” option is deprecated`

Error 1. The “extra.asset-installer-paths” option is deprecated, use the “config.fxp-asset.installer-paths” option

  • Update composer.json by removing asset-installer-paths and add fxp-assets


Error 2. Failed to clone the [email protected]:jquery/jquery-dist.git repository, try running in interactive mode so that you can enter your GitHub credentials

  • Add composer repository to composer.json


Error messages


Updated composer.json