I had a similar issue within WordPress a few days ago but it doesn’t really have anything to do with WordPress. Simply put, your code is loading the babel-polyfill library twice somehow. Most commonly it can happen if you’re using the library yourself and on top of that a third-party library is including that too.
The solution at Babel’s Github worked out well for me.
Related Posts:
- How do I enqueue a script to run inside the Gutenberg editor?
- When to use add_action when registering/enqueuing scripts
- Trying to get custom js files in my admin header
- How to call a static function in add_action() inside another static function?
- Why is my css and js not enqueued until footer?
- Where to place add_action when enqueueing?
- Trying to write a function in an external php file to manage admin menu visibility
- Action inside another action not working
- Moving Javascript from footer to header
- How do I dequeue js/css at the last possible moment?
- True parameter but jquery register in header and not in the footer with wp_register_script
- JavaScript file successfully registered but does not render correctly
- How to enqueue additional scripts and styles after loading another post into the DOM?
- Enqueue Scripts / Styles when shortcode is present
- remove_action or remove_filter with external classes?
- How do I Enqueue styles/scripts on Certain /wp-admin Pages?
- When should I use wp_register_script() with wp_enqueue_script() vs just wp_enqueue_script()?
- What does wp-embed.min.js do in WordPress 4.4?
- add_action reference a class
- Where is the right place to register/enqueue scripts & styles
- Why does save_post action fire when creating a new post?
- Check if a script/style was enqueued/registered
- How to enqueue scripts on custom post add/edit pages?
- How to load css in the footer [duplicate]
- Remove parent theme action in child
- How to properly dequeue scripts and styles in child theme?
- How to know what priority to use with add_action()?
- How to do_action and get a return value?
- wp_enqueue_scripts, wp_register_scripts, wp_print_scripts: i’m confused
- Remove an action from an external Class
- Register and enqueue conditional (browser-specific) javascript files?
- Correct Method to run scripts with dependencies without enqueue?
- Cannot deregister a script using wp_deregister_script
- Difference between do_action_ref_array() and do_action()
- Conditional wp_enqueue_script on a page
- Can my “add_action” function know the name of the hook calling it?
- Why is there both a save_post and wp_insert_post action?
- Does the event ‘wp_version_check’ even exist? What is it doing?
- When is admin_init Action ran?
- Load js/css files only on specific admin UI pages
- Can an action callback prevent the parent from continuing execution?
- remove_action in a theme
- add_action ‘manage_posts_custom_column’ in a class [closed]
- How can I find out what functions are assigned to actions?
- Unable to prevent function using save_post firing twice
- My add_action (wp_footer, ‘method’) is not calling?
- Difference between do_action(‘admin_enqueue_scripts’, $hook_suffix) and do_action(“admin_print_styles-$hook_suffix”) syntax
- Cron jobs in a class
- Add something to beginning of the content
- Disable WooCommerce action
- How to dequeue / deregister any theme styles and scripts
- When can you get current page ID and initialize hooks right after?
- How can I remove the WP menu from the admin bar?
- Enqueue script only when shortcode is used, with WP Plugin Boilerplate
- When and Where to use wp_insert_post()
- Correct place to register and enqueue scripts
- wp_enqueue script my_javascript_file in the footer
- Why, Where, and When to use reference pointers in filters/hooks?
- Hyphens vs. periods in the script slug in wp_register_script?
- add_action customize_register not working
- Hook for writing text string after footer scripts
- How can I remove “Proudly powered by WordPress” from twentyeleven without modifying footer.php?
- Add script to footer – on post editor
- Passing arguments into ‘init’ function
- wp_register_script multiple identifiers?
- Add a Custom Field in Comment Box AFTER text area BUT BEFORE Send button
- enqueue and localize script in footer
- How to use conditional add_action for WordPress
- Using wp_insert_post and post_update_meta but need to fire save_post afterward
- WP Schedule Event – Every Day When First Visitor Comes
- Wp_head and wp_footer vs wp_enqueue_script javascript files?
- wp_logout action not working
- How to remove an action that is added inside a class
- Most elegant way to enqueue scripts in function.php with foreach loop
- How to Add a Custom Script to Customize.php
- Having an add_action( ‘user_new_form’,) [closed]
- wp_enqueue_script vs. wp_register_script
- Using auth_redirect returns cannot modify header information
- Adding scripts to admin page in my theme
- When is it too late to call the action wp_enqueue_scripts?
- add action which returns modified value
- Use js script from one plugin in another plugin
- Pass $this to function nested in another public function of the same class
- What would cause the ‘wp’ action to fire twice per page (but only once per post) in Firefox only?
- Problem:Save Several Duplicate posts in The Database and then Error nesting level of ‘100’ reached
- How to remove an action added by a child theme of Genesis
- I don’t understand why I need a lower priority to remove an action with a higher priority to make it work
- Child Theme – what is the scope of overwriting files?
- Best way to enqueue extremely popular scripts like bootstrap and font awesome
- WordPress admin WP_table_list show incorrectly
- wp_get_attachment_metadata returns false with add_action() ‘add_attachment’ hook
- How to add a checkbox inside the “Publish post” widget?
- Very stubborn wp_register_script / add_action vs remove
- Manually add admin bar
- Dequeue / Deregister script and replace it with a new plugin
- Is there a way to expose additional fields to the Bulk Action > Edit functionality?
- What’s the usage of action do_meta_boxes?
- How can I invoke an action after a CiviCRM triggering event?
- Custom bulk actions in WP 3.7.1
- Remove action from a plugin class