Breakthrough!

After some searching around I moved:
export PATH=~/.npm-global/bin:$PATH

to ~/.zshenv

and restarted BBEdit and I have the little green dot with Ready to start 
server 
\o/

On Friday, 13 August 2021 at 22:25:56 UTC+9:30 ollie wrote:

> Any progress on this Greg? I’m having similar frustrations.
>
> I have installed a couple servers globally with npm: 
> * CSS (vscode-css-languageserver-bin), and 
> * JavaScript (typescript, typescript-language-server)
>
> BBEdit says “Server command not found.” for both CSS and JavaScript with 
> the Language server enabled leaving the default settings.
>
> In my terminal (zsh):
> > which css-languageserver
> /Users/ollie/.npm-global/bin/css-languageserver
>
> > which typescript-language-server
> /Users/ollie/.npm-global/bin/typescript-language-server
>
> > which node
> /usr/local/bin/node
>
> > node -v
> v14.17.5
>
> In ~/.zshrc:
> export PATH=~/.npm-global/bin:$PATH
>
>
> On Wednesday, 21 July 2021 at 02:21:48 UTC+9:30 Greg Raven wrote:
>
>> Also, for some reason I am unable to create symlinks to the files of 
>> interest in /usr/local/bin/. I created a Language Servers folder inside by 
>> BBEdit Application Support folder, navigated to it, and issued the ln -s 
>> command for each of the subject files. The command seems to run to 
>> completion but the links never appear inside the Language Servers folder.
>>
>> I even tried using the path to the actual language file (using the path 
>> found in the /usr/local/bin listing) and still nothing.
>>
>> I'm stumped.
>>
>> On Tuesday, July 20, 2021 at 5:56:36 AM UTC-7 [email protected] wrote:
>>
>>> On 20 Jul 2021, at 8:32, Greg Raven wrote: 
>>>
>>> > OK, so I went through the installation process for Node and NPM, and 
>>> > for 
>>> > the languages I use most often. However, I got lost in the section 
>>> > about 
>>> > symlinking. It says it may not be necessary, but for me it seems it 
>>> > is. I 
>>> > have no new entries in my $PATH, no new files in my Language Modules 
>>> > folder, and the relevant menu items are grayed out. 
>>> > 
>>> > Can anyone provide the missing link between what I have and what I 
>>> > think 
>>> > I'm supposed to be able to do with it? 
>>>
>>> Since I can't see your screen, I have questions: 
>>>
>>> 1. What language(s)? 
>>>
>>> 2. What server(s)? 
>>>
>>> 3. For any given server executable, what is the output of `which` with 
>>> that server executable name, in a Terminal window? 
>>>
>>> 4. Are you using zsh or bash? If zsh, is your PATH configured in 
>>> ~/.zshrc or is it in ~/.zshenv ? 
>>>
>>> R. 
>>>
>>> -- 
>>> Rich Siegel Bare Bones Software, Inc. 
>>> <[email protected]> <https://www.barebones.com/> 
>>>
>>> Someday I'll look back on all this and laugh... until they sedate me. 
>>>
>>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/2c697e5d-ea29-4772-95f3-92e93a142249n%40googlegroups.com.

Reply via email to