Closed jhopley-stadion closed 1 year ago
Can any one help with this?
Does anyone do support of this ?
Hi @jhopley-stadion did you try v3?
Hi! The same issue here.
I just migrate from webpack 4 to webpack 5, and it generates this error in dev mode :
ERROR in ESLint is not a constructor
ERROR in Error: Child compilation failed:
ESLint is not a constructor
- child-compiler.js:169
[ui]/[html-webpack-plugin]/lib/child-compiler.js:169:18
- Compiler.js:551 finalCallback
[ui]/[webpack]/lib/Compiler.js:551:5
- Compiler.js:577
[ui]/[webpack]/lib/Compiler.js:577:11
- Compiler.js:1196
[ui]/[webpack]/lib/Compiler.js:1196:17
- task_queues.js:95 processTicksAndRejections
internal/process/task_queues.js:95:5
eslint: 7.32.0 eslint-webpack-plugin: 3.1.1 webpack: 5.75.1
How to solve the problem ?
I have same issue
i have same issue
Hi @jhopley-stadion Sorry for delay...
Your configuration is wrong
eslintPath
: This is eslint executable path, not eslint configuration file
You can remove this line, by default the eslint will already read your configuration, but if you want to force it use overrideConfigFile
i have same issue ( Child compilation failed: [eslint] Linter is not a constructor )
I have the same issue ( Child compilation failed: [eslint] Linter is not a constructor )
same
Bug report
I have set up webpack react project using weback 5 but getting this error
ERROR in ESLint is not a constructor
when running elint in the build.package.json
Actual Behavior
The linter works because i get the linting error in the console but at the end of the build it just exits with the error above.
Expected Behavior
To finish linting with out getting the error at the end of the build. - sorry not sure what else i can put here.
Please paste the results of
npx webpack-cli info
here, and mention other relevant information