microsoft / license-checker-webpack-plugin

Webpack plugin that verifies licenses of all external dependencies in a compilation, and outputs them to a file.
MIT License
135 stars 28 forks source link

Module 'glob' is missing #24

Closed MikeDevice closed 3 years ago

MikeDevice commented 3 years ago

If create a new project without any dependencies and try to build, the Cannot find module 'glob' error happens.

Steps to reproduce:

  1. Create an empty project.
  2. install webpack, webpack-cli and license-checker-webpack-plugin.
  3. Create a webpack.config.js with the follow context:
const LicenseCheckerWebpackPlugin = require("license-checker-webpack-plugin");

module.exports = {
  plugins: [new LicenseCheckerWebpackPlugin()]
};
  1. Run webpack command.
unindented commented 3 years ago

Ugh, you're totally right. I've published v.0.1.6 with glob in the list of dependencies. Sorry about that @MikeDevice!