The idea being that Deno may be installed at many possible paths for any given user, and I’d like them not to have to futz about which finding the language server path and putting that into settings.
But calling /usr/bin/env no longer seems to work. Any ideas on why, or another approach I could use? It worked perfectly until now!
Just trying to reproduce this myself with a clean environment, things seem to be working alright. I have Deno 2.0.2 installed with Homebrew, and your extension installed, and the LSP starts up fine.
Do you by chance have Deno installed anywhere that isn’t on standard shell paths, but is accessible via env for your shell configuration? I’m trying to track down what might be different between ours.
Interesting. I installed Deno via their shell installer (curl -fsSL https://deno.land/install.sh | sh). If I try to run deno or /usr/bin/env deno anywhere else (e.g. in a local terminal in Nova, or Terminal.app), it works fine.
Hmmm. That also appears to be working for me, at least. Installing Deno that way placed it in ~/.deno/bin/deno, and added . /Users/logan/.deno/env to my .zshrc which exports the right things onto $PATH. Nova seems to see this all just fine at first glance.
Do you happen to know how and where that’s getting set up in your shell configuration? I assume the same way as done by the Deno install script, but I just want to double-check with you.
Additionally, you can open Nova’s Tools preferences to see what it sees in the shell environment. If you copy / Command-C the entry for PATH, let me know if the right folder is being seen to access Deno. If it’s not in there, perhaps Nova 12 is not picking up on some shell config aspect I’m not realizing.