You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just created a new Untitled file, and add some js code, then changed language mode to javascript, and got this in OUTPUT panel:
[Info - 2:28:55 PM] ESLint server is running.
[Info - 2:28:56 PM] ESLint library loaded from: /Users/sam/Documents/tmp/test-standard-js/node_modules/eslint/lib/api.js
(node:59569) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Request workspace/configuration failed with message: Cannot read property 'name' of undefined
(node:59569) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:59569) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Request workspace/configuration failed with message: Cannot read property 'name' of undefined
I just created a new Untitled file, and add some js code, then changed language mode to javascript, and got this in OUTPUT panel:
The problem is at https://github.com/Microsoft/vscode-eslint/blob/master/client/src/extension.ts#L527, since the
workspaceFolder
value ofUntitled
isundefined
.I just don't know how to fix it with the latest code.
The text was updated successfully, but these errors were encountered: