eslint-webpack-plugin icon indicating copy to clipboard operation
eslint-webpack-plugin copied to clipboard

Angular 15+16 compile gets stuck at "70% sealing finish module graph ESLintWebpackPlugin_1"

Open Usama129 opened this issue 1 year ago • 3 comments

I'm using eslint-webpack-plugin 4.0.1 with Angular 16.0.2, and webpack-dev-server 4.15.0 and node v18.16.0. My compile process (with webpack-dev-server) succeeds initially and goes to 100%. When I change/edit a .ts or .scss file, the re-compile gets stuck at "70% sealing finish module graph ESLintWebpackPlugin_1".

plugin webpack config as follows:

new ESLintPlugin({ extensions: ["ts"], failOnWarning: false, failOnError: true, emitError: true, cache: true, cacheStrategy: "content", lintDirtyModulesOnly: true, fix: true })

Also encountered on Angular 15 with eslint-webpack-plugin 3.2.0 and webpack-dev-server 4.11.1 with node 16.x

Things we've tried: cache properties - nope, not related to cache fix:true disabled - not related changing order of plugins - nope update to node 20 - nope

Usama129 avatar May 24 '23 11:05 Usama129

I'm having the same issue. Initially succeeds but fails when a file is changed.

Plugin config can be found at https://github.com/ProtonMail/WebClients/blob/main/packages/pack/webpack/plugins.js#L42

Tried similar fixes as above, and the only fix is to not include the plugin at all.

None of my colleagues are affected by this, but I am running the older macbook pro with intel chip.

Any advice would be appreciated 🙏

StraightOuttaCrompton avatar Dec 13 '23 15:12 StraightOuttaCrompton

Seems to be causing an issue with storybook too https://github.com/storybookjs/storybook/issues/18051

StraightOuttaCrompton avatar Dec 15 '23 14:12 StraightOuttaCrompton

Set threads to true, it helps.

dikaso avatar Apr 10 '24 11:04 dikaso

I can't reproduce. If the problem persists, provide a repository

ricardogobbosouza avatar May 09 '24 17:05 ricardogobbosouza