Issue with Language Server Installation - startup

45 views
Skip to first unread message

Brian Bezanson

unread,
May 8, 2024, 3:18:28 PMMay 8
to BBEdit Talk
I followed the instructions here: Bare Bones Software | Language Server Protocol Support in BBEdit and installed via npm the vscode-json-languageserver.

In my terminal I can type `vscode-json-languageserver` and it executes - wants an additional command - but the point is that it is in my $PATH and can be executed.

However, when I run BBEdit 15.0.3 and look at the log, I see

================================================================================
2024-05-08 13:22:28.828: Application startup: 15.0.3 (15A102)
2024-05-08 13:22:28.828: macOS version 14.4.1 (23E224)
2024-05-08 13:22:28.828: A language server was configured, but the server executable (vscode-json-languageserver) was not found.

This is on my work MacBook Pro.

I just tried the same steps on my personal MacBook Pro with the same OS but BBEdit 15.1 (15B13) beta and I see nice green circles for the language servers I installed.

I can’t install the beta on my work machine — corporate restrictions.

Any suggestions — I ended up using Visual Studio Code to format the JSON file but I would rather use BBEdit. It has the same language server built-in/installed.

Rich Siegel

unread,
May 8, 2024, 3:23:20 PMMay 8
to BBEdit Talk
On 8 May 2024, at 14:57, Brian Bezanson wrote:

> I followed the instructions here: Bare Bones Software | Language Server
> Protocol Support in BBEdit
> <https://www.barebones.com/support/bbedit/lsp-notes.html> and installed via
> npm the vscode-json-languageserver.
>
> In my terminal I can type `vscode-json-languageserver` and it executes -
> wants an additional command - but the point is that it is in my $PATH and
> can be executed.
>
> However, when I run BBEdit 15.0.3 and look at the log, I see
>
> ================================================================================
> 2024-05-08 13:22:28.828: Application startup: 15.0.3 (15A102)
> 2024-05-08 13:22:28.828: macOS version 14.4.1 (23E224)
> 2024-05-08 13:22:28.828: A language server was configured, but the server
> executable (vscode-json-languageserver) was not found.

This sounds like an incorrect $PATH: <https://www.barebones.com/support/bbedit/lsp-notes.html#trouble>.

R.

--
Rich Siegel Bare Bones Software, Inc.
<sie...@barebones.com> <https://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.

Brian Bezanson

unread,
May 10, 2024, 8:33:31 AMMay 10
to bbe...@googlegroups.com
Thanks Rich. I guess I didn’t go in-depth reading the notes. I saw that and skipped it. I moved sourcing my .bashrc (which defines all the paths) to the other zsh file and things are working now. 

Thanks,

Brian 

--
This is the BBEdit Talk public discussion group. If you have a feature request or believe that the application isn't working correctly, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Mastodon: <https://mastodon.social/@bbedit>
---
You received this message because you are subscribed to a topic in the Google Groups "BBEdit Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bbedit/mf-ySODBETI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/AC93D003-F17E-4E1A-9E14-D76F98D6749A%40barebones.com.
Reply all
Reply to author
Forward
0 new messages