2022-11-28
|~2 min read
|295 words
I added a script to a Next.JS project recently which I wanted to run as part of a pre-build step with . The script lived in a scripts folder…
2022-11-28
|~2 min read
|262 words
I ran into an interesting problem today when I bootstrapped a new project with TSDX. The actual steps I took to create the problem seem…
2022-11-28
|~3 min read
|512 words
One of the very first bugs I remember running into was about regeneratorRuntime. At the time I had very little understanding of what the…
2022-11-28
|~2 min read
|388 words
Update: A previous version of this post tried to resolve an absolute path for the mocks. This doesn’t work out of the box, so I’ve updated…
2022-11-28
|~2 min read
|375 words
While working on getting a create-react-app bootstrapped application to work within single-spa, I ran into an apparently quite common error…
2022-11-28
|~1 min read
|101 words
After updating my MacOS to Catalina, Git broke! It turns out that this is a known problem and has to do with Xcode. Fortunately, the…
2022-11-28
|~1 min read
|146 words
/*_ really just need to add some wrapping around this. the body’s there. _/ When handling errors, it’s sometimes convenient to handle based…
2022-11-28
|~1 min read
|177 words
When spinning up Expo locally, if you are not running the BE locally, you’ll need to point to an on-demand environment (ODE). If you don’t…
2022-11-28
|~1 min read
|196 words
The root cause of this problem appears to be varied as it’s been reported in a number of different tickets (484, 745, and on Netlify’s Forum…
2022-11-28
|~1 min read
|161 words
I wrote recently about managing multiple SSH configurations for various services. One of the services I use ssh for is Bitbucket…
2022-11-28
|~2 min read
|352 words
I’ve been running into this issue with some regularity recently. It turns out it’s fairly common and nodejs even has a wiki on it for MacOS…
2022-11-28
|~2 min read
|390 words
Recently, I wanted to introduce permissions to an app I was building. Keeping things very simple to start, I decided to have two permissions…
2022-11-28
|~2 min read
|324 words
I was running through a few different tutorials of Prisma recently when I ran into an error when trying to use a hook. After initializing…
2022-11-28
|~1 min read
|199 words
Tonight, had a real head scratcher: how to instantiate a class in Typescript that uses a constructor without a compiler error! In Vanilla JS…
2022-11-28
|~6 min read
|1013 words
With macOS Catalina, Apple made zsh the default shell. That’s all well and good since I have been using zsh for a while now. However, in…
2022-11-28
|~2 min read
|395 words
Deciding to not bootstrap my React-Playground app is the gift that keeps on giving. Not only do I have the pleasure of getting to use new…
2022-11-28
|~2 min read
|231 words
Continuing my catalog of errors (and how to resolve them), yesterday offered a brand new one for me. I was trying to push some local…
2022-11-28
|~3 min read
|569 words
Update: I found a more general embedder in the Plugin library: gatsby-remark-embedder Replacing with it worked like a charm - and, at least…
2022-11-28
|~1 min read
|170 words
Recently I was working with a Docker image of a Postgres database. Everything was going great. docker image At one point, I wanted to…
2022-11-28
|~2 min read
|204 words
When trying to run an command, you can’t install the packages, you may get the error: While not a root-cause solution, a workaround is…
2022-11-28
|~3 min read
|483 words
I was recently trying to switch over from a private registry default to the default one. When I tried to reinstall my dependencies, however…
2022-11-28
|~3 min read
|533 words
Every time I’ve thrown an error, I’ve used the object. It turns out, however, you can throw anything. I probably knew this intuitively, but…
2022-11-28
|~2 min read
|293 words
I was trying to query an image I’d placed in the frontmatter of a post, when I got the error: Field ‘image’ must not have a selection since…
2022-11-28
|~2 min read
|224 words
Filing this one under annoying bugs that shouldn’t be an issue but end up taking up way more of your time than you’d like. VSCode offers the…
2022-11-28
|~2 min read
|267 words
I have a habit of making longer git branch names. I use the branch name as a way to communicate what and why I’m working on something. For…
2022-11-28
|~2 min read
|255 words
Imagine the following situation - you’re trying to select columns from a Postgres table Let’s assume these are the only four fields you want…
2022-11-28
|~2 min read
|258 words
A few days ago, I wrote about handling arrays from Javascript to SQL. Turns out, I missed an edge case - empty arrays. If you try to set an…
2022-11-28
|~1 min read
|130 words
I was investigating a situation where my application was deviating from my expectations during runtime — aka bug fixing. Opening up my…
2022-11-28
|~2 min read
|215 words
Running my node server, I got an error indicating that my port was already in use (). I knew that shouldn’t have been the case because I had…