Title: Error: Cannot find module
Last modified: February 27, 2019

---

# Error: Cannot find module

 *  Resolved [consumedesign](https://wordpress.org/support/users/consumedesign/)
 * (@consumedesign)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-cannot-find-module/)
 * Great plug in so far but trying to get my jQuery to minify and work but get this
   error, hoping it can be fixed? Anyone know what it might be?
 *     ```
       footer-7e715ad4-1551282633.min.js:27 Uncaught Error: Cannot find module 'function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}'
           at o (footer-7e715ad4-1551282633.min.js:27)
           at footer-7e715ad4-1551282633.min.js:37
       o @ footer-7e715ad4-1551282633.min.js:27
       (anonymous) @ footer-7e715ad4-1551282633.min.js:37
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [Raul P.](https://wordpress.org/support/users/alignak/)
 * (@alignak)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-cannot-find-module/#post-11257217)
 * That probably means, somewhere on your html there is a script checking for jQuery,
   but jQuery is being merged and minified AND being enqueued after that (IE: Being
   deferred or put in the footer).
 * Ideally that script code would be merged with the js file, and it will be in 
   the future versions of FVM, but for now you have to exclude jQuery or possibly
   other js files.
 * If you have other plugins moving or changing the order of scripts, disable them.
   
   Also make sure the error is not there, once FVM is disabled 🙂
 * If excluding jquery doesn’t work for this, there are faqs for the ignore list:
   
   [https://wordpress.org/plugins/fast-velocity-minify/faq/](https://wordpress.org/plugins/fast-velocity-minify/faq/)
 * And finally, if none of this works, perhaps try the autoptimize plugin, since
   it’s easier to setup for non developers.

Viewing 1 replies (of 1 total)

The topic ‘Error: Cannot find module’ is closed to new replies.

 * ![](https://ps.w.org/fast-velocity-minify/assets/icon-128x128.jpg?rev=1440946)
 * [Fast Velocity Minify](https://wordpress.org/plugins/fast-velocity-minify/)
 * [Support Threads](https://wordpress.org/support/plugin/fast-velocity-minify/)
 * [Active Topics](https://wordpress.org/support/plugin/fast-velocity-minify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fast-velocity-minify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fast-velocity-minify/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Raul P.](https://wordpress.org/support/users/alignak/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/error-cannot-find-module/#post-11257217)
 * Status: resolved