Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not download any dev packages #120

Open
zerr0s opened this issue Aug 11, 2022 · 1 comment
Open

Can not download any dev packages #120

zerr0s opened this issue Aug 11, 2022 · 1 comment

Comments

@zerr0s
Copy link

zerr0s commented Aug 11, 2022

Hi,

I have installed this plugin on my nexus 3.38 and it works fine for all packages that are not dev packages.
If I try to get dev packages, Nexus throw me a 404 error:

bash-5.1# composer require monolog/monolog:^1.21.0
./composer.json has been updated
Running composer update monolog/monolog
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Downloading monolog/monolog (1.x-dev)

                                                                                                                                                             
  [Composer\Downloader\TransportException]                                                                                                                   
  The "https://xxxxxxx/repository/composer-public/monolog/monolog/1.x-dev/monolog-monolog-1.x-dev.zip" file could not be downloaded (HTTP/2 404 )  
                                                                                                                                                             

require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>]...

bash-5.1# composer require monolog/monolog:1.21.0
./composer.json has been updated
Running composer update monolog/monolog
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
  - Downgrading monolog/monolog (1.x-dev => 1.21.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Downloading monolog/monolog (1.21.0)
  - Downgrading monolog/monolog (1.22.1 => 1.21.0): Extracting archive
Generating autoload files

The repo proxy on nexus is configured to use https://packagist.org/

Thanks in advance for your help.

@elchenberg
Copy link
Contributor

Seems to be a duplicate of #114.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants