grammarly: After update to vscode 1.82 the extension does not start: `Failed to parse URL`

Today, I’ve updated my vscode to the latest version (1.82), and the extension stopped working. Here is the output that I get:

text checking session for "file:///home/yury/notes.md" is ready
node:internal/deps/undici/undici:11413
    Error.captureStackTrace(err, this);
          ^

TypeError: Failed to parse URL from /home/yury/.vscode/extensions/znck.grammarly-0.23.15/dist/server/tree-sitter.wasm
    at Object.fetch (node:internal/deps/undici/undici:11413:11) {
  [cause]: TypeError [ERR_INVALID_URL]: Invalid URL
      at new NodeError (node:internal/errors:399:5)
      at URL.onParseError (node:internal/url:566:9)
      at new URL (node:internal/url:646:5)
      at new Request (node:internal/deps/undici/undici:7002:25)
      at fetch2 (node:internal/deps/undici/undici:10554:25)
      at Object.fetch (node:internal/deps/undici/undici:11411:18)
      at fetch (node:internal/process/pre_execution:248:25)
      at /home/yury/.vscode/extensions/znck.grammarly-0.23.15/dist/server/index.node.js:34:77331
      at /home/yury/.vscode/extensions/znck.grammarly-0.23.15/dist/server/index.node.js:34:77551
      at new Promise (<anonymous>) {
    input: '/home/yury/.vscode/extensions/znck.grammarly-0.23.15/dist/server/tree-sitter.wasm',
    code: 'ERR_INVALID_URL'
  }
}

Node.js v18.15.0
[Error - 10:54:29] Connection to server got closed. Server will not be restarted.

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Reactions: 50
  • Comments: 22 (1 by maintainers)

Most upvoted comments

As it seem that Grammaryly will drop support for the SDK january year, this plugin may not have a very long life anyway. Grammarly will discontinue the Text Editor SDK

I switched to this one instead : LTexX - LanguageTool grammar/spell checking](https://marketplace.visualstudio.com/items?itemName=valentjn.vscode-ltex)

Fixed today in v0.24.0

As it seem that Grammaryly will drop support for the SDK january year, this plugin may not have a very long life anyway. Grammarly will discontinue the Text Editor SDK

I switched to this one instead : LTexX - LanguageTool grammar/spell checking](https://marketplace.visualstudio.com/items?itemName=valentjn.vscode-ltex)

Oh, wow, I had no idea about this! Ok, well no point hanging around here then. I’ll give the LTeX extension a go, thanks!

Edit: 30 mins in, and LTeX is a more than sufficient alternative to Grammarly. It’s configurable and allows the selection of local dialects. Give it a go!

Yeah it is kinda sad to see the SDK go, I really liked the VS Code extension but am glad to have found the LTeX one instead.

As a paying customer of Grammarly, I hope VSCode integration will be fixed soon. confirming it works on VSCode 1.81. broken on VSCode 1.82 and up.

A vscode downgrade is just a workaround for a few days, but not a solution!

Pls see screenshot attached as well

image image

I tried reverting vscode version.

VS code version

Version: 1.77.3
Commit: 704ed70d4fd1c6bd6342c436f1ede30d1cff4710
Date: 2023-04-12T09:41:48.638Z (4 mos ago)
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: 10.2.154.26-electron.0
OS: Darwin arm64 22.4.0
Sandboxed: No

This plugin is working fine with the above mentioned vscode version.

Same. Tried reverting to 0.18.1 without luck.

Another alternative is Grammarly’s recently released desktop apps.

On my Mac, the app doesn’t work great with VSCode. It only checks the text I highlight, but each correction blurs focus and deselects everything. It’s tolerable if you make peace with hitting <kbd>⌘+A</kbd> over and over.

Give it a try long enough to send them feedback with a bug report. They were very responsive when I complained about other Electron apps, writing back and eventually fixing the bug.


ETA: The app sometimes checks selected text. The rest of the time, the widget crashes and disappears. Send them a really mean bug report.

As it seem that Grammaryly will drop support for the SDK january year, this plugin may not have a very long life anyway. Grammarly will discontinue the Text Editor SDK I switched to this one instead : LTexX - LanguageTool grammar/spell checking](https://marketplace.visualstudio.com/items?itemName=valentjn.vscode-ltex)

Oh, wow, I had no idea about this! Ok, well no point hanging around here then. I’ll give the LTeX extension a go, thanks!

Edit: 30 mins in, and LTeX is a more than sufficient alternative to Grammarly. It’s configurable and allows the selection of local dialects. Give it a go!

… true … https://developer.grammarly.com/sdk-deprecation

"Grammarly will discontinue the Text Editor SDK On Wednesday, January 10, 2024, the Grammarly Text Editor SDK will be discontinued. After that date, the SDK will no longer be able to offer Grammarly’s writing suggestions in your app.

First, thank you to the thousands of developers who used the Text Editor SDK and gave honest, constructive feedback as we launched Grammarly’s first developer product.

We made this decision based on learnings and input from the developer community, as well as to prioritize developing our core product offering in ways that go beyond writing assistance to ease many aspects of an organization’s communication workflow. For more information on Grammarly’s upcoming initiatives, watch our recent keynote: Empowering the AI-Connected Workplace.

What this means for you Grammarly for Developers, along with the SDK functionality and user experience, will be discontinued on January 10, 2024. We advise communicating this change to your users and removing the SDK from your application before that date.

If you currently have an active Grammarly for Developers application, the Text Editor SDK will continue to operate as normal until January 10, 2024."

We will not be accepting new registrations to Grammarly for Developers starting today. For those who recently registered and are considering a Text Editor SDK integration, you will have until July 26, 2023, to create a new app. Please note that the Text Editor SDK will no longer function in your app after January 10, 2024.

Questions? Send us a note

Sadly, LTeX isn’t as good as Grammarly. It misses some spelling mistakes and it doesn’t know some words.