eslint-webpack-plugin
eslint-webpack-plugin copied to clipboard
Angular 15+16 compile gets stuck at "70% sealing finish module graph ESLintWebpackPlugin_1"
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
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 🙏
Seems to be causing an issue with storybook too https://github.com/storybookjs/storybook/issues/18051
Set threads
to true
, it helps.
I can't reproduce. If the problem persists, provide a repository