Home > front end >  Questions about eslint error
Questions about eslint error

Time:03-16

Don't know when to start, in vscode open the project appear eslint error, although does not affect the project development, but every time they open a vue file popup prompt dialog box, very annoying, baidu for a long time, haven't found a way to solve the prompt is as follows:

4:37:05] [Info - afternoon ESLint server is starting
4:37:05] [Info - afternoon ESLint server running in the node v12.18.3
4:37:05] [Info - afternoon ESLint server is running.
4:37:08] [Info - afternoon ESLint library the loaded from: E: \ webprject, bozheng, uf, assist - system - admin/node_modules/ESLint \ lib \ API js
[Error - afternoon 4:37:10] ESLint stack trace:
[Error - afternoon 4:37:10] TypeError: sourceText startsWith is not a function

Ats Function. SourceCodeFixer. ApplyFixes (E: \ webprject, bozheng, uf, assist - system - admin/node_modules/eslint \ lib \ util \ source - code - fixer. Js: 76:26)
Ats Function. SourceCodeFixer. ApplyFixes (C: \ Users \ micha \ AppData \ Roaming \ NPM \ node_modules \ eslint plugin - HTML \ SRC \ index js: 151:23)
At Linter. VerifyAndFix (E: \ webprject, bozheng, uf, assist - system - admin/node_modules/eslint \ lib \ Linter js: 1141:43)
The at processText (E: \ webprject, bozheng, uf, assist - system - admin/node_modules/eslint \ lib \ cli - engine. Js: 180:32)
At CLIEngine. ExecuteOnText (E: \ webprject, bozheng, uf, assist - system - admin,/node_modules/eslint \ lib \ cli - engine. Js: 620:17)
At c: \ Users \ micha \. Vscode \ extensions \ dbaeumer vscode eslint - 2.1.17 \ server \ out \ eslintServer js: and 816
The at fe (c: \ Users \ micha \. Vscode \ extensions \ dbaeumer vscode eslint - 2.1.17 \ server \ out \ eslintServer js: 1 in 664)
At c: \ Users \ micha \. Vscode \ extensions \ dbaeumer vscode eslint - 2.1.17 \ server \ out \ eslintServer js: and 786
At c: \ Users \ micha \. Vscode \ extensions \ dbaeumer vscode eslint - 2.1.17 \ server \ out \ eslintServer js: 043 unto them
  • Related