Eugleo / magic-racket

The best coding experience for Racket in VS Code
https://marketplace.visualstudio.com/items?itemName=evzen-wybitul.magic-racket
GNU General Public License v3.0
199 stars 29 forks source link

Server always crashing #118

Closed aquaslvt closed 1 year ago

aquaslvt commented 1 year ago

Environment

Error message

[Info  - 10:12:03 AM] Connection to server got closed. Server will restart.
standard-module-name-resolver: collection not found
  for module path: (lib "racket-langserver")
  collection: "racket-langserver"
  in collection directories:
   /home/picto/.racket/7.4/collects
   /usr/share/racket/collects
   ... [159 additional linked and package directories]
  context...:
   show-collection-err
   standard-module-name-resolver
   module-path-index-resolve
   [repeats 1 more time]
   module-declared?
[Error - 10:12:04 AM] Connection to server got closed. Server will not be restarted.

Additional context

There is also an error message that says "Language server crashed 5 times in the last 3 minutes, will not be restarted" or something like that

aquaslvt commented 1 year ago

Turns out I am dumb and I haven't installed the server

BranLiang commented 4 months ago

In case if you are still wondering. You should run raco pkg install racket-langserver after/before install extension Magic Racket