8
frogstair
23d

I fucking hate Node.JS

This piece of junk software wasted my whole entire fucking evening trying to figure this shit out how the fuck does that work?? Why does anyone use that?? Why is there no better fucking way for this?

I decided to use UIKit for my project because I am a shitty web designer. It either comes from a cdn, yarn or git. I only need UIKit for my project, nothing else, and it's the front end part of my web app. I install it through yarn because I want to customize it too.

Yarn created an empty package.json, a node modules folder, and that's all. I try compiling my custom less file, it fails because there is no such script. I try doing it from inside the module directory, and just go with it, the directory names are like 50 characters long, I cannot change the build directory, I have 2 million fucking node modules and I have to navigate them, there are no proper docs for anything, and I'm currently filled with endless frustration because there must be a better way to manage this, it can't be the only way that css frameworks work nowadays, the endless error messages, endless logs, commands, shitty programs made by shitty 12 year olds who learned "hello world" in js and thought they were programmers, I fucking hate all of this

There must be a better way

Comments
  • 3
    A new motto for this piece of shit could be "there is a better way"
  • 5
    Welcome to anarchy development ecosystem :)
  • 4
    @vane im leaving thanks
  • 1
    It sounds like you need a bundler like Webpack or Rollup. Otherwise, you could also include the CDN in an html file and write the CSS from there.

    It does in fact sound like you only really need the CDN, which means you can forego npm
  • 0
    @theuser more shit to install? Poggers
  • 0
    @frogstair If you're not using frameworks that needs to be bundled for the browsers, then you can do a very small web app with the help of a UI kit. Just include it in index.html and away ye go.
  • 1
    If you want to customize it, you need to compile it.

    If you don't, use a cdn.

    Most frameworks don't support CSS vars yet.
    No custom compile, no frustrations.
  • 1
    @010001111 mate
    I know. My frustration is that if I want to compile it I have to use node js which is bloated and unusable in a normal environment
  • 0
    @theuser there is a css framework named UIKit and now some bundling tool named UIKit too?
  • 1
    @frogstair What do you mean, love? My Project is super normal and it's very usable.

    Just use the CDN and overwrite the stuff you want to change with normal CSS, without preprocessor.
  • 0
    @010001111 you see, css frameworks usually contain thousands of lines of repetitive code, and if I change one class, I would have to change the other 20 classes that are with it. That is not an option then
  • 0
    @frogstair Well mine is 70 lines long and it doesn't use a preprocessor...
  • 0
    @frogstair Complete theme definition and overwrite a class here and there for the very specific cases... Not much.
  • 0
    @010001111 that's a very basic framework. Something I was gonna use is more complex that just colors
  • 0
    @frogstair It's a desktop/tablet/mobile app with specific theming for android and ios lol
  • 0
    You should have started with something smaller if you are not professional with such module system, It's not hard at all, in your case, you messed up in beginning and then things started falling apart.
  • 2
    @theabbie and how do I not mess up from the start?
  • 0
    @frogstair Follow the Docs, Tutorials, you can't expect it to work it the way you want to, It might not be the problem with NodeJS.
  • 0
    @frogstair And Why do you need to install UiKit if it's part of frontend? CDN is always preferable for such things.
  • 0
    So you're saying javascript libraries are undocumented? Oh my, what a surprise (or maybe not)!!
  • 1
    @theabbie I want to customize it, so I compile it from less

    And the tutorial is linked with docs, if you see https://getuikit.com/docs/...
  • 0
    @frogstair So that didn't work? I agree the module system is weird, but I really like it, It might suck for someone not used to it, that is understandable.
Add Comment