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
202 stars 28 forks source link

Error starting racket-langserver on MacOS #76

Closed bkushigian closed 2 years ago

bkushigian commented 2 years ago

Environment

Error message

Couldn't start client Racket Language Client

 ERR spawn racket -l racket-langserver ENOENT: Error: spawn racket -l racket-langserver ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
    at onErrorNT (node:internal/child_process:477:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

Additional context

This was working fine until yesterday. I'm able to run racket -l racket-langserver from command line and it works fine. I'm not sure how to test if it's the racket command that's failing (i.e., VSCode can't find racket for some reason).

bkushigian commented 2 years ago

Typical. I spent hours trying to figure this out, and as soon as I posted this I thought to disabled/re-enabled Magic Racket and it works now lol.

Anyway, thanks for being a rubber duck!