Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: Request textDocument/codeAction failed with message: Range#create called with invalid arguments[[object Object], [object Object], undefined, undefined] #1931

Open
ulugbekna opened this issue Sep 19, 2024 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster

Comments

@ulugbekna
Copy link

Not sure how to repro, but I get this error in dev console:

 ERR Request textDocument/codeAction failed with message: Range#create called with invalid arguments[[object Object], [object Object], undefined, undefined]: Error: Request textDocument/codeAction failed with message: Range#create called with invalid arguments[[object Object], [object Object], undefined, undefined]
    at ae (/Users/ulugbekna/.vscode-insiders/extensions/dbaeumer.vscode-eslint-3.0.10/client/out/extension.js:1:41596)
    at re (/Users/ulugbekna/.vscode-insiders/extensions/dbaeumer.vscode-eslint-3.0.10/client/out/extension.js:1:39556)
    at Immediate.<anonymous> (/Users/ulugbekna/.vscode-insiders/extensions/dbaeumer.vscode-eslint-3.0.10/client/out/extension.js:1:35850)
    at processImmediate (node:internal/timers:478:21)

Image

Feel free to close if not actionable.

@dbaeumer
Copy link
Member

Hard to say. It tries to create a range with invalid positions, but unsure why. I think they come invalid from ESLint. If you can have steps or a file you are seeing it in would be helpful.

@dbaeumer dbaeumer added info-needed Issue requires more information from poster bug Issue identified by VS Code Team member as probable bug labels Sep 19, 2024
@dbaeumer dbaeumer pinned this issue Sep 19, 2024
@dbaeumer dbaeumer unpinned this issue Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants