Re: eglot-tests fail for emacs-31 branch

João Távora <[email protected]>
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
Hi again Michael, 

Michael Albinus <[email protected]> writes:

> RUN npm install -g typescript-language-server typescript
> RUN npm install -g vscode-json-languageserver
>
> See test/infra/Dockerfile.emba.
>
> This hasn't changed for more than a year. You can try to reproduce with the local
> emba environment; see admin/notes/emba.

There is still a misunderstanding.  I _didn't_ write those lines

    npm install -g typescript-language-server typescript

someone else did.  I don't know when they were added, but I presume they
were added well before the current state of things, because this person
must have had the very same eglot-tests.el tests passing in mind, and
they did pass or the change wouldn't have been committed.  In fact these
tests _do_ pass in my local emba environment, which I setup about 2
months ago to debug a related issue.

So, logically, whatever happened recently cannot be attributed to
changes in code to code eglot-tests.el because there were none.

For me, it seems much more likely that the 'npm install -g' is aiming at
moving target: likely the "typescript-language-server" package now has
different requirements which somehow don't play well with Debian Trixie.
So whoever is the npm connoisseur around these parts should try to "pin"
those installations to a known good version.

João
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.