atomiks / tippyjs

Tooltip, popover, dropdown, and menu library
https://atomiks.github.io/tippyjs/
MIT License
11.86k stars 520 forks source link

DevTools failed to load source map #1049

Open ghost opened 2 years ago

ghost commented 2 years ago

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

Uhtredtb commented 2 years ago

I replicate the same issue here.

Any fix? @atomiks

Screen Shot 2565-05-01 at 13 26 53
SirRawlins commented 2 years ago

We see the same issue here.

harmancode commented 2 years ago

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/core@2.11.5/dist/umd/popper.min.js"></script>
<script src="https://unpkg.com/tippy.js@6.3.7/dist/tippy-bundle.umd.min.js"></script>
PoppyDev commented 1 year ago

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.