Since v5.16.0 cannot get tarball file: 404 "file not found"
See original GitHub issueverdaccio version: 5.16.0 and upper node version: v16.14.0 package manager: [npm@8.3.1, yarn@1.22.19] os: linux platform: docker
We had Verdaccio 5.15.4 with Minio storage (RELEASE.2022-10-24T18-35-07Z). config.yml contains the lines:
store:
minio:
port: 9000
region: us-east-1
endPoint: 10.10.10.10
accessKey: minioadmin
secretKey: minioadmin
useSSL: false
It worked fine.
After upgrading to 5.18.0 we get errors on “yarn add @our/package”:
yarn add v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
error An unexpected error occurred: "https://our-verdaccio-site.com/commander/-/commander-9.4.1.tgz: Request failed \"404 Not Found\""
If you try to get tarball file with the direct link - https://our-verdaccio-site.com/commander/-/commander-9.4.1.tgz - the same error appears: 404 “file not found”. The file commander-9.4.1.tgz exists in Minio though.
The error appears only since v5.16.0 (I tried 5.16.0, 5.16.1, 5.16.2, 5.16.3, 5.17.0, 5.18.0)
Debug logs:
01.12.2022, 21:09:59 debug--- [Minio] ReadStream<commander/commander-9.4.1.tgz> is opened
01.12.2022, 21:09:59 debug--- [Minio] ReadStream<commander/commander-9.4.1.tgz> received 28174 bytes
01.12.2022, 21:09:59 debug--- [Minio] ReadStream<commander/commander-9.4.1.tgz> is finishing
Issue Analytics
- State:
- Created 10 months ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Cannot npm install jest Error: 404 Not Found: @babel/code ...
I can run npm view @babel/code-frame versions and see the versions but no matter how I try to install @babel/code-frame it fails with...
Read more >Cannot download node-sass HTTP error 404 Not found
I have tried to get back to my previous commit on git where everything was working but it did not solve my problem....
Read more >tar: cannot open: no such file or directory - linux - Super User
A common error with wget is a login or redirect (or 404) HTML page being saved instead of the target file. Then it...
Read more >Software Distribution file download error 404 - Ivanti Community
When the software tries to download, first it was erroring out on the main Primary File as not found. Turns out it didn't...
Read more >Npm install command failing with message "could not find ...
Npm install command failing with message "could not find Visual Studio" ... npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here is verdaccio docker-compose.yml. We have separated minio and verdaccio docker-compose files for some reasons.
It works fine. After upgrading to 5.18.0 we get error 404 (see above).
Additionally if you want a playground, you can PR on this repo: https://github.com/verdaccio/e2e-5.x
Create your own docker compose with mini and create a smoke test just like: https://github.com/verdaccio/e2e-5.x/blob/main/.github/workflows/docker-proxy-nginx-e2e.yml
It’s very simple and would be great to have for future releases avoid regressions.