Working with Bash script, we are in a need to check the existence of a directory. You can use the test command or its equivalent shorthand [ to check if a directory exists or not in a Bash shell script.
Continue Reading...Working with Bash script, we are in a need to check the existence of a directory. You can use the test command or its equivalent shorthand [ to check if a directory exists or not in a Bash shell script.
Continue Reading...NVM (Node Version Manager) is a tool that allows you to manage multiple versions of Node.js on the same machine. It is possible that NVM is not working on Jenkins execute shell due to several reasons. Here are some troubleshooting steps that you can try:
Continue Reading...NVM (Node Version Manager) is a useful tool for managing multiple versions of Node.js on a single machine. To set a default Node.js version, you can use the command: nvm alias default
The nvm install latest -npm command installs the latest version of Node.js along with the latest version of npm. If you want to install a specific version of npm, you can use the npm option followed by the version number.
Continue Reading...You can access executables from a package installed locally in node_modules from local binary directories with npm bin and PATH command. You can also use the npx command to run executables from a locally installed package.
Continue Reading...While you install a new node version using nvm and then used npm to install yarn, you need to reinstall the yarn for the new node version.
Continue Reading...The Cronjob is running in Kubernetes like a Linux or Windows Cron schedule, this post will walk you through to understand the Cron Jobs and configure your Kubernetes cluster. A CronJob can creates Jobs on a repeating schedule as your have configured in the K8S cluster,
Continue Reading...