Rant time.
A few years back we had a SPA template someone made to help us make everything "easier" when building internal webapps. However nothing about this template could be considered easy because of all the dependencies this thing needed just to function. Hell you needed to run around 3 node.js commands just to generate the necessary files to get the home page to load properly. And this was a sentiment shared by everyone on the team that had to deal with this template except the person who made it. Thankfully the moment he left the company we axed the template and buried it in a shallow grave.
Cut to last week where this damn thing came back from the grave because my boss asked me to look into moving a project I made using it over to our new infrastructure. You'd think since it was already built it wouldn't be that much of an issue but since node has been updated a lot since this thing was built I ran into issues with one of the required libraries called gulp.js not working with my current version of node. So I decide to upgrade gulp to the latest version and that's when hell hits. First it was complaining the gulpfile.js file (which you manually write) wasn't working because nothing was asynchronous in there which is true so I try to make all the functions that and get past that error but learn nothing is building. So after having enough I try to rewrite this from scratch and add into it function-by-function with success until I hit a wall where on of the functions is calling another function to build a variable and pass that into a pipe and that's causing an error that makes no sense to me. It's saying "dest.on" is not a function and all I can make with the limited information I can find is the variable isn't a stream.
I tell my boss this and it would be easier to just say "fuck it" to this entire application but of course I need to "figure it out because of the other applications we need to move over" even though nobody here knows what the hell any of these damn libraries are for. I've even asked the 2 most knowledgeable on our team with web programming about this and they're even at a loss.
Anyway rant over. Sorry if that didn't make much sense but this thing is the biggest pain in the ass I have ever worked with.