I came across an old graphics project I'd made for Windows/DOS around 20 years ago. Within about a half hour I was able to compile and run it on a Linux machine with Wine, installing the latest version of the compiler and dependencies.
I can rarely get a 6-month-old JavaScript web project to compile and run this easily. Churn in node versions, npm/yarn versions, dependencies being abandoned, superseded, dropping backwards compatibility.
I agree that the churn is constant.
A HTML page, web components and no build process solves this.
Pinned package versions in npm solves this.
If you want to use the latest dependencies then yes there is ongoing management required. There are tools to help with this.