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 <[email protected] >: > 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 > > > Am Fr., 30. Mai 2025 um 10:21 Uhr schrieb Volker Schlecht < > [email protected]>: > >> Just in case someone else runs into the same issue: Did the downgrade to >> NodeJS 20.x fix your setup? >> >> On 5/24/25 6:25 AM, Martin Ivanov wrote: >> > Hello, >> > >> > I'm using *LazyVim* on *OpenBSD 7.7 (GENERIC.MP#625 <http:// >> > GENERIC.MP#625> amd64)* for Angular development. While my Angular >> > application builds and runs without problems, I'm encountering multiple >> > issues in the *LazyVim* IDE after enabling LSP support for Angular via >> > the |lang.angular| plugin (which also pulls in |lang.typescript|). >> > >> > The issues are consistent across all |.ts| files in my project: >> > >> > * >> > >> > |File '/home/marto/repos/angular/finances/node_modules/@angular/ >> > core/index.d.ts' is not a module. [2306]| >> > >> > * >> > >> > |This syntax requires an imported helper but module 'tslib' cannot >> > be found. [2354]| (on every |@Component| decorator) >> > >> > * >> > >> > |Cannot find name 'Readonly'. [2304]| >> > >> > * >> > >> > Attempting to jump to definition (|lsp_definitions|) fails with "No >> > results found". >> > >> > I've tried the following: >> > >> > * >> > >> > Adding |tslib| explicitly to |dependencies| in |package.json| >> > >> > * >> > >> > Deleting and reinstalling |node_modules| and re-running |npm >> install| >> > >> > * >> > >> > Confirming that the project builds successfully with |ng build| >> > >> > Versions: >> > >> > * >> > >> > Node.js: v22.15.1 (built from ports) >> > >> > * >> > >> > TypeScript: 5.7.3 >> > >> > * >> > >> > Angular: 19.2.12 >> > >> > The same project and IDE setup works as expected on DragonFlyBSD (with >> > node18), which makes me suspect the issue may be related to Node/npm >> > interaction with OpenBSD or potential missing/incompatible dependencies >> > in the environment. >> > >> > I've attached the following files: >> > >> > * >> > >> > |LspInfo.txt| >> > >> > * >> > >> > |package.json| >> > >> > * >> > >> > |tsconfig.json| >> > >> > I'm happy to test or provide further details (e.g., full dmesg, build >> > paths, language server logs) if anyone has ideas or has run into >> similar >> > problems. >> > >> > Thanks in advance for any guidance. >> > >> > Best regards, >> > Martin >> > |uname -a: OpenBSD marto.OpenBSD 7.7 GENERIC.MP#625 <http:// >> > GENERIC.MP#625> amd64| >> > >> >>

