Skip to content

Error when using electron-forge #1093

@fmense

Description

@fmense

Hi,

I'm using webpack-license-plugin with electron-forge. Since the update to 4.3.0 I'm experiencing the following error:

ERROR in WebpackLicensePlugin: Found licenses after license files were already created. If you see this message, you ran into an edge case we thought would not happen. Please open an isssue at https://github.com/codepunkt/webpack-license-plugin/issues with details of your webpack configuration so we can invastigate it further. compiler: undefined, isChild: false compiler: HtmlWebpackCompiler, isChild: true compiler: undefined, isChild: false

The previous versions of webpack-license-plugin worked fine.

How to reproduce:

  1. Create an electron-forge project (npm init electron-app@latest my-app -- --template=webpack-typescript)
  2. Install webpack-license-plugin
  3. Add webpack-license-plugin to webpack.plugins.ts
  4. Run npm run package

Thank you in advance for your help :)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions