tippyjs icon indicating copy to clipboard operation
tippyjs copied to clipboard

DevTools failed to load source map

Open ghost opened this issue 2 years ago • 4 comments

I've tried with the simplest sample from https://atomiks.github.io/tippyjs/v6/getting-started/.

And I'm using the production CDN:

However, the console keeps giving two warnings:

DevTools failed to load source map: Could not load content for https://unpkg.com/@popperjs/popper.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

DevTools failed to load source map: Could not load content for https://unpkg.com/tippy-bundle.umd.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

ghost avatar Apr 26 '22 14:04 ghost

I replicate the same issue here.

Any fix? @atomiks

Screen Shot 2565-05-01 at 13 26 53

Uhtredtb avatar May 01 '22 06:05 Uhtredtb

We see the same issue here.

SirRawlins avatar May 11 '22 08:05 SirRawlins

I've found a workaround.

Do not use these lines:

<script src="https://unpkg.com/@popperjs/core@2"></script>
<script src="https://unpkg.com/tippy.js@6"></script>

Go to each of these URL's with your browser and use resolving URLs instead.

As of the date of this comment, you can use:

<script src="https://unpkg.com/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/tippy-bundle.umd.min.js"></script>

harmancode avatar May 20 '22 19:05 harmancode

Glad I found this. Had the same issues. Is this not something that needs updating on the website through?

Under 2.CDN: https://atomiks.github.io/tippyjs/v6/getting-started/ it shows the urls that show this warning.

PoppyDev avatar Aug 04 '23 15:08 PoppyDev