Hello, I finally solved the problem. In short, it was the OpenBSD system resource limits that caused the issue. Obviously, nvim as an IDE is very resource-hungry. So, I had to tweak the staff class /etc/login.conf: staff:\ :datasize-cur=2G:\ :datasize-max=unlimited:\ :stacksize=8M:\ :openfiles=8192:\ :maxproc-max=2048:\ :maxproc-cur=2048:\ :memorylocked=131072:\ :memoryuse=unlimited:\ :ignorenologin:\ :requirehome@:\ :tc=default:
and also create /etc/sysctl.conf with the following line: kern.maxfiles=65536. Now everything works like a charm with the default settings I use also on other OSs such as Linux and DragonFlyBSD. Special thanks to everybody and to Volker, with whom I corresponded also in private. Special thanks also to ChatGPT and grok :) Now that this is solved, I would be happy if you can comment on my resource limits. Maybe some settings can be further improved? This is my current default class: default:\ :path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin /usr/local/sbin:\ :umask=022:\ :datasize=unlimited:\ :maxproc-max=256:\ :maxproc-cur=128:\ :openfiles=8192:\ :stacksize-cur=4M:\ :localcipher=blowfish,a:\ :tc=auth-defaults:\ :tc=auth-ftp-defaults: I think I tweaked some things here as well. I am looking forward to your comments. Best regards, Martin Am Fr., 30. Mai 2025 um 14:05 Uhr schrieb Volker Schlecht < openbsd-m...@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 > > <marto1...@gmail.com <mailto:marto1...@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 >