question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gitterchriscommented, Mar 27, 2018

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.

0reactions
lock[bot]commented, Jul 2, 2019

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found