Reputation: 26213
When I run webpack
, I get ERROR in Cannot find module 'lodash/lang/isFunction'
. However, multiple module depend on lodash. How do I make Webpack go into debug or verbose mode?
Adding debug: true
in my Webpack config file didn't do anything.
Upvotes: 0
Views: 712
Reputation: 2652
Are you familiar with the --display-error-details flag? Setting this when executing a build gives you more verbose output on errors (e.g. when a module is missing it will show you all the places it looked to find it). As far as I can tell this is command line only; I haven't been able to find an equivalent when running webpack via node.
Upvotes: 1