vscode-eslint: TypeError: Cannot read property of 'CLIEngine' of undefined
Hi team,
I’ve been consistently getting this error in the output channel of ESLint and was wondering if you could point me in the right direction:
[Info - 12:48:15 AM] ESLint server stopped.
[Info - 12:48:15 AM] ESLint server running in node v11.6.0
[Info - 12:48:15 AM] ESLint server is running.
(node:3749) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'CLIEngine' of undefined
at n.then.e (/Users/username/.vscode/extensions/dbaeumer.vscode-eslint-1.8.2/server/out/eslintServer.js:1:28199)
at process.internalTickCallback (internal/process/next_tick.js:77:7)
(node:3749) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
If there’s any suggestions or information you know of that can help me resolve this, please let me know. Thanks!
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 4
- Comments: 18 (7 by maintainers)
I just downgraded
eslint
version to 5.15.0, rannpm i
, and I am not facing the issue anymore@ashah023 I leave this one open for some time.