Comments (8)
@ALF-er this should not happen :-). Any steps to reproduce would be highly appreciated
from vscode-eslint.
Sorry for delay. Here is settings and code (just 2 lines of code) that lead to subj issue https://github.com/ALF-er/vscode-eslint-test But it's obvious that it's not eslint-settings-issue. I want to reinstall vscode from scratch. But maybe I can provide some extended issue report for you before that?
from vscode-eslint.
I have the same error:
Error: Header must provide a Content-Length property.
at MessageReader.onData (/Users/sitapati/.vscode/extensions/dbaeumer.vscode-eslint/node_modules/vscode-languageclient/node_modules/vscode-jsonrpc/lib/messageReader.js:105:27)
at Socket.<anonymous> (/Users/sitapati/.vscode/extensions/dbaeumer.vscode-eslint/node_modules/vscode-languageclient/node_modules/vscode-jsonrpc/lib/messageReader.js:92:19)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:146:16)
at Socket.Readable.push (_stream_readable.js:110:10)
at Pipe.onread (net.js:523:20)
from vscode-eslint.
So full reinstall of VSCode, vscode-eslint,local eslint doesn't fix problem =| Any ideas, someone?
from vscode-eslint.
@ALF-er the problem comes from the fact the something interferes with the protocol socket we use. It will not go away by installing fresh
from vscode-eslint.
@dbaeumer Good to know that the source of problem defined (approximately =)). If you need any additional information - let me know, I'll be glad to help.
from vscode-eslint.
I fixed it by allowing both stdio and node ipc as a transport. For eslint I change now to ipc transport which makes it impossible that a console.log interferes with the protocol. I publish a new version of eslint as well.
from vscode-eslint.
Great! But after update I get
EPERM: operation not permitted, write
e.doShow @ workbench.main.js:1598
e.show @ workbench.main.js:1598
e.showMessage @ workbench.main.js:1590
__dirname.undefined.t.Class.derive._oncancel @ workbench.main.js:1544
e.showMessage @ workbench.main.js:1590
e.handle @ workbench.main.js:1588
a @ workbench.main.js:1576
h.handle @ workbench.main.js:1576
(anonymous function) @ workbench.main.js:1602
(anonymous function) @ workbench.main.js:1602
emitTwo @ events.js:87
emit @ events.js:172
handleMessage @ internal/child_process.js:685
channel.onread @ internal/child_process.js:440
from vscode-eslint.
Related Issues (20)
- Document behavior and defaults of useFlatConfig across ESLint v8, v9, v10 HOT 2
- [Suggestion] Mark `warn` eslint level as vscode `DiagnosticSeverity.Information` `info` level HOT 3
- `eslint.execArgv` Configuration is Not Working HOT 3
- JSON schema for useFlatConfig can be more specific HOT 1
- Should plugins still have `eslint.experimental.useFlatConfig` in their settings? HOT 1
- Support custom clickable links in eslint error tooltips HOT 1
- The extension does not show any errors anymore HOT 3
- Enfore validate list
- Error output (in flat config) causes problems not to appear in the output channel HOT 2
- Add support for ESLint feature flags HOT 4
- Restarting an extension when that extension's output is selected in the "Output" pane should not change which extension is selected in the "Output" pane. HOT 3
- ESLint with SafeQL crashes on Windows with error code 3221226505 HOT 5
- About eslint config,When user setting and workspace setting are conflict,how to override user settings config HOT 1
- ESLint is preventing my files from being saved HOT 7
- eslint autofix for multiple empty lines don't work HOT 1
- ESLint server only looks at first entry in `context.only` array sent along with `textDocument/codeAction` HOT 4
- Supervied Idenification Verification Profile HOT 2
- Setup ESLint with Deno runtime instead of node HOT 2
- eslint 一旦出现 error,输出日志显示 Error 时,代码编辑器爆红会消失 HOT 2
- Support for `typescript-eslint` v8's parser `projectService` HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-eslint.