0

我正在尝试修复这个 ES Lint 错误,但我找不到问题的原因

有人知道这里可能是什么问题吗?

告诉我们您的环境

**Gulp-ESLint 版本:**6.0.0

**节点版本:**17.1.0

**npm 版本:**8.1.4

 
/Users/at552/Dev/clients/clientName/projects/aem/shop3/content/src/main/content/jcr_root/node_modules/gulp-eslint/node_modules/eslint/lib/cli-engine/cli-engine.js:256
...calculateStatsPerFile(messages)
^^^
SyntaxError: Unexpected token ...
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/Users/at552/Dev/clients/clientName/projects/aem/shop3/content/src/main/content/jcr_root/node_modules/gulp-eslint/node_modules/eslint/lib/cli-engine/index.js:3:23)
at Module._compile (module.js:570:32) ```
4

0 回答 0