sonatype-nexus-community / nexus-repository-composer

Composer support for the Nexus Repository Manager (work in progress!)
Eclipse Public License 1.0
216 stars 84 forks source link

Composer in proxy mode does not working #153

Open alireza11048 opened 6 months ago

alireza11048 commented 6 months ago

I am receiving the below 404 error when trying to download the package through composer plugin in proxy mode, as you can see in the below:

$composer require mpdf/mpdf Do not run Composer as root/super user! See https://getcomposer.org/root for details Continue as root/super user [yes]? y Composer could not detect the root package (laravel/laravel) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version Warning: Accessing nexus.afzar.ir over http which is an insecure protocol. Cannot use mpdf/mpdf's latest version v8.2.3 as it requires ext-gd * which is missing from your platform. ./composer.json has been updated Composer could not detect the root package (laravel/laravel) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version Running composer update mpdf/mpdf Loading composer repositories with package information Warning: Accessing nexus.afzar.ir over http which is an insecure protocol. Updating dependencies Nothing to modify in lock file Installing dependencies from lock file (including require-dev) Package operations: 2 installs, 0 updates, 0 removals

any idea to solve the problem is appreciated.