I understand that Node is mostly known as a frontend tool and Rails uses it for that, but as far as I remember Node was as least initially developed to bring JavaScript runtime to backends.
Even without a package manager node is just a node.exe under Windows, and I think you just have to download and unpack npm and then put node and npm into your PATH environment variable.
Also it's fairly easy to install node. Too easy in fact. I wish it was much harder, and required a degree.
Eventually only one person can get it working so I suppose it’s job security so perhaps it’s not so bad
That’s for every framework though, Rails isn’t that bad, relatively
Other typical back ends are more complicated (except Go) Java, C#, Python for example
Python is a disaster.
dotnet new webapp - for crud
dotnet new react - using react
How is that complicated?
JavaScript is just a tool, like any other. And it's a very important one like it or not. And like it or not it's going to stay here for a long time.
Just have a bit of an open mind and try to learn the basics at least, it will make things easier.
Luckily, I no longer need a PhD in webpack or node packages in order to run rails s successfully.
The idea to have a node_modules that has tens of thousands of folders/files for the simplest package that I needed to install. Ruby has gems, but they have few files, I can easily know where to go to understand how something works or add a debugger.
But just trying to read the name of all those seemed for me always like a task that I dont want to do.
The language itself letting aside some warts is good, can be enjoyed and good code maybe can be written.
It's a really good framework, and for someone like me who needs to stand up a website from time to time it really is the path of least resistance.
What bugs me is the pain of setting up a new laptop to run Rails. I need node, which means npm. I'm a backend guy, I don't understand how to set up node, what order to do things in, etc. I do it rarely enough that it always seems a fight. Eventually I get it done, but I'm never sure why it finally all comes together.
An installer that puts together all the requirements so my rails just works would be great. The rvm installer will set up rails on top of ruby but won't set up the node system underneath it.