Missing package
See original GitHub issueI use wordpress and wavesurfer.js and everything was OK until yesterday.
Yesterday I noticed that the plugin is not working properly and I have a warning in the console:
DevTools failed to load SourceMap: Could not load content for https://unpkg.com/wavesurfer.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
and when I enter url https://unpkg.com/wavesurfer.js.map
I have error in notice:
Cannot find package wavesurfer.js.map@latest
I attach the plugin with the code in the wordpress:
function js_wavesurfer() {
wp_register_script('wavesurfer_js', 'https://unpkg.com/wavesurfer.js');
wp_enqueue_script('wavesurfer_js', 'https://unpkg.com/wavesurfer.js');
}
add_action('wp_enqueue_scripts', 'js_wavesurfer');
How fix this problem?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
Missing Mail and Lost Packages - USPS
If you're dealing with a lost package or mailpiece, USPS can help with a Missing Mail Search. Learn how to find lost mail,...
Read more >What to Do If You Have a Lost or Stolen Package | Safewise
Here's what to do if a package is stolen · File a police report · Contact the sender · Report it to Amazon...
Read more >Is Your USPS Package Missing or Not Delivered? - Stowfly
Don't forget to file a police report. Report your USPS missing package to the local police. Submit any form of evidence you may...
Read more >Find a Missing Package That Shows as Delivered - Amazon.com
Most packages arrive on time. On very rare occasions, the tracking may show as "delivered" but it looks like your package has not...
Read more >How to report a missing Amazon package - Android Police
This article shows you how to investigate a missing package and report it to Amazon, regardless of whether it was sold and shipped...
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 FreeTop 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
Top GitHub Comments
Agreed. But don’t use unpkg in production, host the wavesurfer.js script yourself.
https://unpkg.com/wavesurfer.js@4.2.0/dist/wavesurfer.js
try that