{"$schema":"https://ejfox.com/schema/page-twin@1.json","kind":"blog_post","url":"https://ejfox.com/blog/week-notes/2024-41","json_url":"https://ejfox.com/blog/week-notes/2024-41.json","generator":"ejfox.com/json-twin@1","data":{"cacheVersion":"2026-05-13-gear-cards","html":"<h2 class=\"\" id=\"2024-41\">2024-41</h2>\n<h3 class=\"\" id=\"code--creations\">Code &#x26; Creations</h3>\n<h3 class=\"\" id=\"the-epic-quest-to-deploy-a-website-a-tale-of-code-and-chaos\"><strong class=\"\">THE EPIC QUEST TO DEPLOY A WEBSITE: A Tale of Code and Chaos</strong></h3>\n<ol class=\"list-decimal\">\n<li class=\"\">\n<p class=\"\"><strong class=\"\">Months of Tireless Effort</strong>: First, you’ve been grinding away on your personal site for weeks (maybe months?), crafting, tweaking, and perfecting the code into something truly worthy of the cyberpunk gods.</p>\n</li>\n<li class=\"\">\n<p class=\"\"><strong class=\"\">Repository Hijinks</strong>: Realizing the local <code class=\"md-inline-code\">website2</code> repo wasn’t even on GitHub yet, you discovered a time capsule version of your site in an old <code class=\"md-inline-code\">website2</code> repo, which is hilariously out of date. Cue existential sigh.</p>\n</li>\n<li class=\"\">\n<p class=\"\"><strong class=\"\">Repo Renaming Adventures</strong>: We pulled off a classic repo shuffle, renaming the ancient <code class=\"md-inline-code\">website2</code> to <code class=\"md-inline-code\">website2-archive</code> like it was a retired general, and then uploaded the new, shiny <code class=\"md-inline-code\">website2</code> repo to GitHub like a phoenix rising from the ashes.</p>\n</li>\n<li class=\"\">\n<p class=\"\"><strong class=\"\">Netlify Shuffle</strong>: Time to delete the old Netlify setup. Why? Because we’re not just keeping things simple here. We nuked the old Netlify deployment and set up a fresh one with the codename <code class=\"md-inline-code\">warm-crostata-e31905</code>—delicious and mysterious.</p>\n</li>\n<li class=\"\">\n<p class=\"\"><strong class=\"\">NPMRC Shenanigans</strong>: Enter the <code class=\"md-inline-code\">.npmrc</code> problem—your work settings decided to sabotage the build, pulling packages from some cursed corporate registry like a rogue AI gone mad. This resulted in a critical failure mid-build, and frustration levels skyrocketed.</p>\n</li>\n<li class=\"\">\n<p class=\"\"><strong class=\"\">Backup Your Backup’s Backup</strong>: After a moment of controlled rage, we backed up the <code class=\"md-inline-code\">.npmrc</code> file like responsible coders and restored the “normal” one from <code class=\"md-inline-code\">npmrc-normal-bak</code>. Why do we have all these backups? Only the code gods know.</p>\n</li>\n<li class=\"\">\n<p class=\"\"><strong class=\"\">The Great Cache Purge</strong>: We hit <code class=\"md-inline-code\">npm cache clean --force</code>, effectively giving npm the middle finger and telling it to start fresh, because if you're gonna fix npm problems, might as well go nuclear.</p>\n</li>\n<li class=\"\">\n<p class=\"\"><strong class=\"\">\"Where the Hell is my Repo?\"</strong>: After all this meticulous cleaning, you tried to <code class=\"md-inline-code\">cd</code> into the wrong directory—because, of course, your local <code class=\"md-inline-code\">website2</code> repo has decided to play hide-and-seek. A quick mental facepalm, and then back on track.</p>\n</li>\n<li class=\"\">\n<p class=\"\"><strong class=\"\">Node Versioning Ritual</strong>: We prayed to the version gods, invoking the <code class=\"md-inline-code\">.nvmrc</code> file to ensure Node v20.16.0 is active, like a secret spell whispered in a forgotten tongue.</p>\n</li>\n<li class=\"\">\n<p class=\"\"><strong class=\"\">Vanquishing Node Modules</strong>: With a battle cry, we nuked <code class=\"md-inline-code\">node_modules</code>, that bloated directory of dependency hell, followed by removing the ghost of a <code class=\"md-inline-code\">yarn.lock</code> that apparently never existed, but we tried twice anyway just for good measure.</p>\n</li>\n<li class=\"\">\n<p class=\"\"><strong class=\"\">Yarn Rebirth</strong>: With our path cleared of wreckage, we summoned the powers of <code class=\"md-inline-code\">yarn install</code> to begin the next chapter—installing fresh dependencies from the land of npmjs.org. Would it succeed? Only time (and another cup of coffee) would tell.</p>\n</li>\n</ol>","title":"2024-41","metadata":{"tags":["weekly-notes","reflections","progress"],"modified":"2024-10-14T23:45:51.000Z","date":"2024-10-07T15:39:59.000Z","words":424,"images":0,"imageDetails":{"total":0,"cloudinary":0,"withDimensions":0},"links":0,"codeBlocks":0,"headers":{"h2":1},"toc":[{"text":"2024-41","slug":"2024-41","level":"h2","children":[{"text":"Code & Creations","slug":"code--creations","level":"h3","children":[]},{"text":"THE EPIC QUEST TO DEPLOY A WEBSITE: A Tale of Code and Chaos","slug":"the-epic-quest-to-deploy-a-website-a-tale-of-code-and-chaos","level":"h3","children":[]}]}],"type":"post"}},"_links":{"self":"https://ejfox.com/blog/week-notes/2024-41.json","html":"https://ejfox.com/blog/week-notes/2024-41","index":"/blog.json"}}