-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
toolsIssues and PRs related to the tools directory.Issues and PRs related to the tools directory.
Description
Version
v18.0.0-pre
Platform
Linux 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
tools
What steps will reproduce the bug?
run make lint-js
and observe the errors in WSL Ubuntu. I have tried the latest source on macOS and faced the same.
/mnt/e/OpenSource/node$ make lint-js
Running JS linter...
Oops! Something went wrong! :(
ESLint: 8.8.0
/mnt/e/OpenSource/node/tools/node_modules/eslint/node_modules/eslint:1
(function (exports, require, module, __filename, __dirname) { ..
^
SyntaxError: Unexpected token '.'
at new Script (node:vm:100:7)
at NativeCompileCache._moduleCompile (/mnt/e/OpenSource/node/tools/node_modules/eslint/node_modules/v8-compile-cache/v8-compile-cache.js:240:18)
at Module._compile (/mnt/e/OpenSource/node/tools/node_modules/eslint/node_modules/v8-compile-cache/v8-compile-cache.js:184:36)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (/mnt/e/OpenSource/node/tools/node_modules/eslint/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at Object.<anonymous> (/mnt/e/OpenSource/node/tools/node_modules/eslint/node_modules/eslint-plugin-jsdoc/dist/rules/checkExamples.js:8:15)
at Module._compile (/mnt/e/OpenSource/node/tools/node_modules/eslint/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
make: *** [Makefile:1352: lint-js] Error 2
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior?
Linters should run successfully.
What do you see instead?
Errors and linting broken
Additional information
No response
Metadata
Metadata
Assignees
Labels
toolsIssues and PRs related to the tools directory.Issues and PRs related to the tools directory.