Title: RequireJS &#8211; Error: Mismatched anonymous define() module&#8230;
Last modified: August 31, 2016

---

# RequireJS – Error: Mismatched anonymous define() module…

 *  Resolved [aepp](https://wordpress.org/support/users/aepp/)
 * (@aepp)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/requirejs-error-mismatched-anonymous-define-module/)
 * Hello,
 * I’m having an issue with requirejs in your plugin. I’m also using requirejs to
   concat and minify all javascript that is used on my web site. I only include 
   two files: the require.js file and the combined main.js file.
 * On the page where wpDataTables are used I get the error
 * `Error: Mismatched anonymous define() module: ...`
 * that is actually mentione here: [http://requirejs.org/docs/errors.html#mismatch](http://requirejs.org/docs/errors.html#mismatch)
 * So what would be the best approach to solve it? I ofcourse could edit your JS
   includes, remove them and include via my main.js file, but than I’ll have to 
   do it every time you update your plugin.
 * Many thanks in advance
 * Regards
    Aleks
 * [https://wordpress.org/plugins/wpdatatables/](https://wordpress.org/plugins/wpdatatables/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [wpDataTables](https://wordpress.org/support/users/wpdatatables/)
 * (@wpdatatables)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/requirejs-error-mismatched-anonymous-define-module/#post-7449006)
 * Hi there
 * Sorry, not quite sure what the problem is (we must say we didn’t work with RequireJS)
   yet. Can you please show the URL?
 *  Thread Starter [aepp](https://wordpress.org/support/users/aepp/)
 * (@aepp)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/requirejs-error-mismatched-anonymous-define-module/#post-7449017)
 * Hi, that’s the page with the error: [https://www.vergleich24.at/konto/online-broker](https://www.vergleich24.at/konto/online-broker)
 *  Plugin Author [wpDataTables](https://wordpress.org/support/users/wpdatatables/)
 * (@wpdatatables)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/requirejs-error-mismatched-anonymous-define-module/#post-7449110)
 * Sorry for delay. I suppose you already removed the table from the page.
 * However we checked this when the table was still there and it seemed that RequireJS
   wasn’t loading the scripts in the required order. Maybe up to some 3rd party 
   library that wpDataTables is using (DataTables, or other). We will check this
   in future.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘RequireJS – Error: Mismatched anonymous define() module…’ is closed to
new replies.

 * ![](https://ps.w.org/wpdatatables/assets/icon-128x128.gif?rev=3010404)
 * [wpDataTables - WordPress Data Table, Dynamic Tables & Table Charts Plugin](https://wordpress.org/plugins/wpdatatables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpdatatables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpdatatables/)
 * [Active Topics](https://wordpress.org/support/plugin/wpdatatables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpdatatables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpdatatables/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [wpDataTables](https://wordpress.org/support/users/wpdatatables/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/requirejs-error-mismatched-anonymous-define-module/#post-7449110)
 * Status: resolved