Oops! Something went wrong! :(
ESLint: 8.1.0
TypeError: Module.createRequire is not a function
at Object. (/home/linters/app/versions/eslint-8.1.0/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2359:26)
at Module._compile (/home/linters/app/versions/eslint-8.1.0/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (/home/linters/app/versions/eslint-8.1.0/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at Object. (/home/linters/app/versions/eslint-8.1.0/node_modules/eslint/lib/cli-engine/cli-engine.js:33:5)
This indicates the outdated (before 12.2) Nodejs version used to run ESlint.
Hello With the
.hound.yml
containingand
package.json
containingWe get the errors like
This indicates the outdated (before 12.2) Nodejs version used to run ESlint.