Cannot install the latest version
See original GitHub issue| Q | A |
|---|---|
| Bug or feature request? | Bug |
| Which Swagger/OpenAPI version? | |
| Which Swagger-UI version? | 3.13.1 |
| How did you install Swagger-UI? | npm install swagger-ui or yarn add swagger-ui |
| Which browser & version? | N/A |
| Which operating system? | Windows 7 |
Demonstration API definition
Configuration (browser query string, constructor, config.yaml)
{
"your": { "constructorConfig": "here" }
}
?yourQueryStringConfig=here
Expected Behavior
The package should be installed without error.
Current Behavior
When I use npm install swagger-ui, I get npm ERR! cb() never called!.
When I try yarn add swagger-ui, I get
error An unexpected error occurred: "http://[somelink with tgz file here].tgz: Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?".
It seems like the issue is with the yarn publishing. There is a workaround suggested here.
Possible Solution
Context
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Get help with Windows upgrade and installation errors
See some of the most common upgrade and installation errors for Windows 10 and Windows 11, and what you can do to try...
Read more >Unable to Install Apps or Software on Windows? Here's What ...
If you still can't install software properly on Windows, go to Settings > Apps > Apps & features and uninstall the current version...
Read more >If your iPhone or iPad won't update - Apple Support
If you still can't install the latest version of iOS or iPadOS, try downloading the update again: Go to Settings > General >...
Read more >Fix problems installing Chrome - Google Chrome Help
Download the installation file again from google.com/chrome. Use the new file to install Chrome again. If the installation still isn't working, ...
Read more >Garmin Express Fails to Install or Update on a Windows ...
When installing Garmin Express to a Windows computer, there may be obstacles that can prevent ... Uninstall Previously Installed Versions of Garmin Express....
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 Free
Top 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

Yes, I am behind a corporate proxy. It seems like the issue is with our registry.
Installing an older version (3.0.21) works for some reason. Thanks for your support. I guess I should close this instead.
Locking due to inactivity.
This is done to avoid resurrecting old issues and bumping long threads with new, possibly unrelated content.
If you think you’re experiencing something similar to what you’ve found here: please open a new issue, follow the template, and reference this issue in your report.
Thanks!