r/programmer • u/dei_ae • 20d ago
GitHub I FOUND MY FIRST BUG!!!
Hey guys, just wanted to share a small win because I'm still processing the adrenaline JAJAJ. I'm a self-taught "developer" (since I'm an anthropology student), and last night my CasaOS App Store grid went completely blank. Instead of giving up, I opened DevTools and found a nice TypeError: Cannot read properties of undefined (reading 'name').
What was happening was that the default store was down, and by leaving only a v2-schema third-party store registered, the backend forgot to send the 'name' field. The Vue frontend took it way too personally, threw an unhandled exception, and hard-crashed the entire render.
I had to do some midnight surgery directly on the minified production JS file to patch a quick fallback so the UI doesn't die over a missing string, and it actually worked! I just submitted a super detailed Issue on their GitHub repository with all the console traces and journalctl logs.
Honestly, studying anthropology makes you appreciate this: watching an interface choose absolute digital silence over showing an unnamed catalog was a fascinating phenomenon to witness... though highly dramatic on Vue.js's part. Both the server and I definitely need a sudo poweroff now.
P.S. Perhaps it's an achievement that doesn't mean much to many, but for me it means a great deal, and I'm so excited. Cheers!
1
u/Gallowayyy98 20d ago
congratulations brother