In this post, I’d love to discuss a setup that’s minimal enough for me to start a TypeScript-based project.Read More minimal TypeScript project setup
Alright, this is gonna be a big no brainer, but we’ve all spent 1 full hour looking for our glasses, wearing them the whole time, haven’t we? If you keep getting permission errors whenever you npm install (even if you’ve fully followed the official guide on how not to get npm permission error), then obviously […]Read More npm install keeps showing permission errors?
Okay, so the problem is obvious: we want to use mocha to run spec .js files written in ES6+ ( very likely with async await being utilised ‘cuz everybody loves ’em 😉 ). I’ll go ahead and state it upfront that: there is nothing special or challenging about this. I’m blogging this only for the sheer reason […]Read More Using mocha with ES6+ spec files
Context: if you use a node module having dtrace-provider as one of its dependencies, even primary or optional, once in a while you may notice a peculiar error spit out from your node processes: Error: Cannot find module ‘./build/Debug/DTraceProviderBindings’ This usually happens when I upgrade my Node.js version then go back to maintaining a few week […]Read More npm dtrace-provider occasional issue
So, in the past month, my Mac has been automatically restarting itself times and times again. While there is a possibility that some part inside it broke down, I really don’t even wanna think about that. Instead, I’ll just attribute it to the fact that my SSD is already 93% full, and apparently the hibernate […]Read More constant panic (my mac osx)
Hello there, If you’re a random reader, this post is exactly as its title reads. If you happen to be from Automattic Inc. itself, you know why this post is here! Now without further ado, I’ll tell you a story about how I came to choose and use some of Automattic’s products. A. WordPress itself […]Read More How do I (as a developer) use Automattic products (and their competitors) – Part 1
Howdies, npm@5 & Node.js@8 have been one of the hotter news recently within the NodeJS community. First of all, sincere kudos to the team behind for having going out of their ways in developing and maintaining such cool products that provide us developers with so much comfort to carry on in our daily work 🙂 […]Read More Finding your build scripts break after upgrading to npm@5 / node@8?
Using Bootstrap? Most likely. Wanna apply some special rules to an element inside a grid (col-*) system within a viewport that satisfies something less than col-md but more than col-sm? @media screen and (max-width: 767px) may be your friend. If there is only one thing to come out of this, obviously the number 767. This, to remind my future self. Cheers,Read More max-width: 767px
Quick note for anyone who might run into the same issue I did. If your React – Redux – Router app suddenly stops working properly, and by that I meant, it mysteriously stops following anchor tags (<a>) or Link components (<Link>) properly (in my case the browser got redirected back to home (/#), then: make sure […]Read More React App stops working on anchor tags and Link components
Hello guys, just a small update. Recently I took over a project developed months ago by another team. It was a NodeJS codebase with a lot of dependencies, one of which was the npm request module. As a feature required us to stop the request midway (if some condition has been met), we realised we knew nothing about stopping […]Read More How to stop / end / abort / cancel a request made by npm request module