-bash: nvm: command not found
Hello NVM users! I recently encountered a situation where i installed the nvm but while trying to use it, I was showing the error as “-bash: nvm: command not found”. In this blog i will share the solution i used to resolve it. so that everyone can get help form it. Lets understand the NVM first. […]
How to update readonly hosts file?
While trying to edit my readonly hosts file on a Mac, I was getting the following output and I was unable to save any changes. Let’s decode this and see how we can edit readonly hosts file and save our changes. Explanation of Each Part: Why this is Read-Only? The hosts file is usually a […]
Converting circular structure to JSON
I have recently encountered the below error while using the JSON.stringify for a class object. Error: “stack”:[“TypeError: Converting circular structure to JSON”,” –> starting at object with constructor ‘Cluster'”,” | property ‘_source’ -> object with constructor ‘AutoconfSource'”,” — property ‘_cluster’ closes the circle”,” at JSON.stringify (<anonymous>)” Let’s decode this in this article, so that it […]
JSON.stringify() returns empty object.
We often encounter this issue, that while trying to stringify the error object, it returns the empty object. Many developers have below questions in their mind. Q. JSON.stringify is not able to return any value for error objects, neither throwing any error why? Q. JSON.stringify is not working properly for error object why? Q. JSON.stringify […]
–frozen-lockfile CI Build Error: “Your lockfile needs to be updated…”
CI Error: CI pipeline build fails with an error for frozen-lockfile: I have recently encountered the above CircleCi build error while running the pipeline for a project. Let’s understand the root cause of this and how to solve it. It may help everyone in the global community of coding. We often see the files likes […]
How to Install Homebrew in macOS
We often struggle to install the Homebrew package manager in our mac. Although it is a simple installation but it always gives surprises. I have also done it earlier couple of times, and had different experience for macOS. Its been a bit tricky, but anyways it’s simple. we can follow the below steps and it […]