81

what do i do in this position ?

top 12 comments
sorted by: hot top controversial new old
[-] Blamemeta@lemm.ee 31 points 11 months ago

Well thats just impressive.

[-] peopleproblems@lemmy.world 11 points 11 months ago

The only thing that I came to the conclusion of was: "not whatever you are doing."

[-] karmiclychee@sh.itjust.works 14 points 11 months ago

rm -rf node_modules early, rm -rf node_modules often. And if that doesn't work, quit your job and pick up a trade, like plumbing, or joinery.

[-] nrabulinski@beehaw.org 13 points 11 months ago

That’s not a segfault, that’s a bus error, which also refers to memory, but it’s a different kind of error, typically occurring when you access a misaligned address or some address which cannot possibly be referenced. Probably a problem with one of the pre-built binaries some npm module ships

[-] pe1uca@lemmy.pe1uca.dev 6 points 11 months ago

I had this issue with sveltekit trying the host option of vite running with bun.
The solution was to re-do the lock files.
You have to delete them and the node_modules folder.
Then you can npm install.

[-] overcast5348@lemmy.world 1 points 7 months ago

I am mostly a backend dev and I brushed up on my front end skills a <2 years ago since I had fallen behind and things looked like they were stabilizing. I learnt Vue and React, and used them in some personal projects. The job I got after adding these skills to my resume is at a company that still uses an ancient version of angular, but IDC either way since I rarely do front end.

Now, what in god's name are sveltekit, vite and bun? Actually, no, don't answer that, I can Google it. But please let me know if they are stable stuff that I should bother learning or if I can just wait for another year or two till everyone else figures out what is needed.

[-] Derp@lemmy.ml 1 points 5 months ago

Sveltekit is the fullstack/SSR version of svelte (like next is for react or nuxt is for vue). I reckon learning one of them might be helpful to learn component-based SSR and its benefits, personally I do think they have a firm place in the future of webapps.

Vite I can highly recommend, it's the best, fastest and least fussy bundler/builder I have ever used hands down (having used webpack briefly and packer for a while). Has some great features and is less of a pain to configure and get to work in my experience.

[-] overcast5348@lemmy.world 1 points 5 months ago
[-] thisisawayoflife@lemmy.world 5 points 11 months ago

Do the tests run? What was the last change you made before it started crashing?

[-] _brian@programming.dev 2 points 11 months ago

fresh new project so no git history .i just copy pasted few configuration files (from my personal boilerplate.) and install all the node modules.i'm guessing some package was missing or something.

[-] akash_rawal@lemmy.world 2 points 10 months ago

I may have found the person behind a Tomcat server I had to troubleshoot. It would stop running when a different JVM threw an OutOfMemoryException.

[-] Thyrian@ttrpg.network 1 points 11 months ago

Reprogram in vanilla js html and css - > No dev server. No problem.

this post was submitted on 04 Sep 2023
81 points (96.6% liked)

Programming Horror

1634 readers
1 users here now

Welcome to Programming Horror!

This is a place to share strange or terrible code you come across.

For more general memes about programming there's also Programmer Humor.

Looking for mods. If youre interested in moderating the community feel free to dm @Ategon@programming.dev

Rules

Credits

founded 1 year ago
MODERATORS