Email or username:

Password:

Forgot your password?
Nikita

I was cleaning up my code folder and stumbled upon a website project I didn't touch since December 2020, so, two years. Nothing extraordinary, just a #Pug + #Sass + #Bootstrap portfolio website, built with #Gulp.

Well, after trying for about 30 minutes, I still couldn't bring it to build properly. It was error upon error. 🙄

This is why I dislike the #JavaScript ecosystem so much. Even in #Python, it wouldn't be that critical, let alone something like #C or #Java.

4 comments
Nikita

Yesterday, it was Gulp, today, it is Vite, tomorrow, it is esbuild or Rome or whatever else gets invented. And after two years, all of that is dead and unrecoverable.

Nikita

And, like, there are fixes and such, but they don't work. I did pin the Node version, and I did pin all the dependencies, and it still doesn't work.

Node 12 is deprecated. Let's use nodenv. Oh, Node 12 can't be built without Python 2. Python 2 is deprecated. Let's use pyenv. Okay, we got everything. Let's yarn install. node-sass can't be built, probably because of my ARM MacBook. Fun thing is, the project doesn't even use node-sass :blobcatnotlikethis:

Such a mess.

Andres Araujo

@kytta I feel that pain, older projects that depend on node sass are a pain tu run locally on recent Macos versions due python/node incompatibility. What I been doing is creating a docker file that works to build the project in case I need to run it a few years later

Go Up