Closed DeLaGuardo closed 2 years ago
Thank you for reporting that @DeLaGuardo !
Is it easy to try with an older nodejs (preferably 16.15.0)?
If you delete this folder: /[REDACTED]Library/Caches/Sublime Text/Package Storage/LSP-Grammarly/18.3.0/
and sublime can't find nodejs, it will automatically download 16.15.0.
Does it also happen with other files? e.g., if you only open this repo's README.md?
It works after I uninstall the globally installed node and restart Sublime! Thanks!
Hi!
I don't know why grammarly language server won't start but I collect some logs. If you need more information I'm happy to add more :) This issue is reproducible in my environment.
logs
``` grammarly: Ready! grammarly: (node:93973) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time grammarly: (Use `node --trace-warnings ...` to show where the warning was created) grammarly: Initialized! grammarly: open file:///[REDACTED]Projects/personal/highlight-parentheses.el/README.md grammarly: node:internal/deps/undici/undici:4813 grammarly: throw new TypeError("Failed to parse URL from " + input, { cause: err }); grammarly: ^ grammarly: grammarly: TypeError: Failed to parse URL from /[REDACTED]Library/Caches/Sublime Text/Package Storage/LSP-Grammarly/18.3.0/grammarly-languageserver/node_modules/web-tree-sitter/tree-sitter.wasm grammarly: at new Request (node:internal/deps/undici/undici:4813:19) grammarly: at Agent.fetch2 (node:internal/deps/undici/undici:5505:29) grammarly: ... 4 lines matching cause stack trace ... grammarly: at new Promise (