BenoitZugmeyer / eslint-plugin-html

An ESLint plugin to extract and lint scripts from HTML files.
ISC License
430 stars 51 forks source link

Failed to load plugin 'html' declared in '.eslintrc.json': createRequire is not a function #133

Closed windy-boy closed 7 months ago

windy-boy commented 4 years ago

When I use eslint-plugin-html, I have a problem. Do you have the same problem as me? If so, please let us know the solution.

The warning message is as follows: WARNING in ./src/js/index.js Module Warning (from ./node_modules/eslint-loader/dist/cjs.js): Failed to load plugin 'html' declared in '.eslintrc.json': createRequire is not a function

image

BenoitZugmeyer commented 4 years ago

Please provide more information, as requested in the bug report template you saw when opening the issue.