Saturday, May 31, 2025

Re: LazyVim Angular LSP Issues on OpenBSD 7.7 – Typescript/tslib errors and LSP failure

Hello Volker,

Thank you very much for your reply.

In my desperation, I decided to test the hypothesis that the Node.js version might be the culprit. I ran the same Angular project and Neovim configuration on Slackware Current with both Node v22.12.0 and v20.18.2.

Everything worked flawlessly in both cases.

This strongly suggests that the issue is related to the OpenBSD ecosystem in some way. I would be very grateful for any suggestions on how to investigate or diagnose the root of the problem.

Best regards,
Marto


Am Fr., 30. Mai 2025 um 14:05 Uhr schrieb Volker Schlecht <openbsd-misc@schlecht.dev>:
Given the error messages, I don't think you're looking at a difference
between DragonflyBSD and OpenBSD, but rather at a difference between
node18 and node>18 - probably something related to CommonJS vs. ESM.

A few changes happened there in recent versions of typescript, i.e.
https://github.com/microsoft/TypeScript/pull/60761

On 5/30/25 10:22 AM, Martin Ivanov wrote:
> Strange is that this same project configuration works on DragonFlyBSD.
> The only difference is that I use node18 there. Everything else is the same.
>
> Am Fr., 30. Mai 2025 um 10:51 Uhr schrieb Martin Ivanov
> <marto1980@gmail.com <mailto:marto1980@gmail.com>>:
>
>     Hello, Volker, thank you very much for asking.
>     Unfortunately downgrading node to version 20 did not solve the
>     problem. I get the same problem as I got with version 22. I am still
>     struggling to get my nvim IDE work with angular on OpenBSD.
>     Best regards,
>     Martin

No comments:

Post a Comment