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 do I Enqueue styles/scripts on Certain /wp-admin Pages?
- Check if a script/style was enqueued/registered
- Hyphens vs. periods in the script slug in wp_register_script?
- add_action customize_register not working
- Passing arguments into ‘init’ function
- wp_register_script multiple identifiers?
- How to Add a Custom Script to Customize.php
- Having an add_action( ‘user_new_form’,) [closed]
- Adding scripts to admin page in my theme
- 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
- Child Theme – what is the scope of overwriting files?
- Dequeue / Deregister script and replace it with a new plugin
- How can I invoke an action after a CiviCRM triggering event?
- Remove action from a plugin class
- how can I use add_action with external class which the function contain 2 argument?
- remove_action not working with procedural function
- Is it possible to add an action to the currently running action?
- Woocommerce Change placement with wrapper
- Best spot for wp_register_script() and wp_register_style()
- Which action fire in front-end single post only
- Register script/style: Is it possible to customize the version query string via plugin?
- How resource intensive is wp_register_script()?
- array of objects to do_action, callback gets singular object?
- is_page() function doesnt working
- Trying to add script to specific admin page is not working
- getting a js file for one page
- how can I use add_action run another function when publishing new post?
- How to place script in footer?
- How to remove function?
- Enqueue scripts in footer
- Using wp_register_style to load CSS in footer?
- Can’t see why my scripts aren’t loading when I register and enqueue them
- How to track post number on the_loop
- How can I trigger actions manually?
- Why won’t my scripts load?
- Use wp_enqueue_scripts from included php file
- $GLOBALS[‘hook_suffix’] variable empty
- Move jQuery to the bottom of the page whilst keeping the WordPress jQuery
- publish_post action hook not working
- add_action() in switch statement
- Problem with get_the_excerpt when using an add_action(‘the_content’) containing script tags
- Gutenberg – Dispatch action or setAttributes() on Post Save/Update action instead of onChange listener
- Using Nested add_action()
- WordPress action admin_post for non-admin authenticated users – Form submission
- Instantiating classes through add_action and saving them to user_meta data [closed]
- Are the hooks in the dashboard such as “load-$page_slug$” and “admin-head-$page_slug$” reliable and consistent throughout installs?
- Enque script based on url paramater
- Localizing script to pass a value to a javascript function
- add_action and do_action
- Gravity Forms parameters return 1
- cannot filter after using pre_get_posts
- Is it good practice moving the main stylesheets after the plugin styles?
- Generate payment URL in custom email [closed]
- missing argument 2 when passing arguments to add_action
- admin_enqueue_scripts not rending JS file correctly
- comment_post callback function: how to run it in the background.
- Add new users to “add new user” page on admin’s dashboard
- How Do I Enqueue a Script into 2 different Footers on the Same Site?
- Run a function on all posts
- Remove an action added within a class in a WordPress plugin
- Why is WordPress enqueuing admin relevant scripts (e.g., React, ReactDOM, Redux, hooks, TinyMCE etc) when not logged in?
- add_action( ‘publish_pelicula’, ‘post_published_notification’, 10, 2 ); does not trigger propperly
- save_post not triggered when a post is updated
- Using wp_enqueue_script on scripts that contain PHP
- Action ‘init’ function doesn’t return variable
- Insert Google authorship into WordPress header
- Failing to load my script files in wordpress! i can’t figure out what i’m doing wrong
- Dynamic wp_enqueue_scripts?
- How can I get more out of `$post` in an `add_action` callback?
- Add Tag to post after publishing
- Remove action not working in child theme
- Call to Action Button – Resize Help [closed]
- wpdb->insert creates duplicate rows
- Creating Admin Submenu Page via Class Method
- How to enqueue an external Javascript file to Frontpage footer
- Need data from two different actions
- Adding add_action function
- XML Imported Custom Posts
- save_post action not firing when save
- WooCommerce wp_insert_post action firing on every save
- How to enable/disable a hook with theme options
- wp_enqueue doesn’t load dependencies
- Building WP Web App: Creating a Feed for post revisions
- Can admin_bar_menu or another action be used to modify the admin bar on the admin side?
- What is the first action or filter executed by wordpress?
- Dequeue/deregister scripts for everybody but the administrator
- A way to see real changes of posts inside an action?