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.

Gives error:

error: An unsupported media type was attempted to be imported as a module.
  Specifier: https://cdn.esm.sh/v35/sha.js@2.4.11/deno/sha.js.js
  MediaType: Json

Seems to be because of the extension (.js.js) at the end is wrong; when visiting the webpage https://cdn.esm.sh/v35/sha.js@2.4.11/deno/sha.js, the file is fine.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
timreichencommented, Apr 11, 2021

Resloved by https://github.com/postui/esm.sh/issues/46. Should now work as expected

0reactions
timreichencommented, Apr 9, 2021

@aegooby I think this is not relevant to bundler’s code but to esm.sh. Could you post that on the esm.sh issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to troubleshoot Windows Installer errors - Microsoft Support
Right-click the Windows Installer service, and then click Start. The service should start without errors. Try to install or to uninstall again.
Read more >
If an error occurred while updating or installing macOS
The message might say that an error occurred while downloading, preparing, or installing, or that the installer is damaged or could not be ......
Read more >
How to Fix Microsoft Windows 10 Installation Error Codes
This document covers the list of Windows 10 installation error codes with its corresponding Cause and Resolution. Learn how to Fix!
Read more >
Fix problems installing Chrome - Google Chrome Help
If you get an error message when you try to download and install Google Chrome, try these fixes. Fix most installation errors Make...
Read more >
Error installing: "Setup has encountered an unexpected error"
Symptoms When trying to install or update the Office Timeline Add-in, the installation fails and you get an error message that says...
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