Blog fixed!
29 Nov 2020
codingI had a minor freak out yesterday when I figured out that the post I had written on Friday was not appearing on the blog. It occured to me on Friday afternoon that there might be a problem - after I complete a post, it is usually pretty quick to appear but I figured it may have just been a bit slow and left it at that. Saturday morning however, it still had not appeared so my concern drove me to the netlify site to see if there was an issue. Turns out that my site wasn't building/deploying - the console was throwing up errors. I am no coder - while I enjoy dabbling, its more of a hobby so these error messages had me very confused! I went to the community forums, searched Google but nothing was really matching the error messages I was seeing in the console so I figured I would take a look at the original blog repo in github and see if there was any differences between the files there and the ones I have.
Turns out that since I started this blog, Netlify has gone up a version and a whole heap of other dependencies had as well. I went through and updated the version numbers on all the required packages and this finally fixed it. I'm sure there might have been an easier way to clone or pull the files from the original blog repo but I'm not sure how to do all that so I reverted to the ol' copy and paste where required. It was definitely the highlight of the morning, seeing the console log light up with all the build commands and no errors! It's one of the things I would probably take for granted when writing on Wordpress or something similar - the platform automatically keeps you on the newest verson, upgrades everything in the background and everything just works. While everything through Netlify is a bit more fiddly and requires a bit more work, I really enjoy the abiltiy to tinker with the code, and while these kind of errors throw you at first, at least I now know what files I need to keep updating to ensure it keeps working. I really enjoy learning how something works and then being able to apply that knowledge. Never stop learning!