Error: EACCES: permission denied, open …

When Node.js libraries cannot open files on the local disk, the file does not exist at the specified location, or the file or folder permission are not correct. To check the permission of the file see Get the octal file permission number of a file or directory If you get the error message related to …

Using the redis Docker container locally

To develop applications with the redis database we can use a Docker image. The documentation is at https://hub.docker.com/_/redis/ Set up the redis container to be accessed via localhost on the local computer Start the redis container Start the redis container “detached” ( -d ) in the background and expose it through localhost:6379 Check if the …

DeprecationWarning: Access to process.binding(‘http_parser’) is deprecated.

When you try to run an older Node.js application under a new version of Node.js you may get deprecation warnings. If you downgrade Node.js and keep the out of date component, you will introduce a dangerous security risk in your application. To refresh the referenced Node.js libraries

DevOps Engineering part 1. (Win) – Make your Windows computer easier to use

Set up your computer Display the file extensions On Windows 11 On Windows 10 On Windows 7 (if you accidentally run into an ancient machine) Disable the Windows key If you use a Macintosh computer, you use the Command key all the time. Unfortunately, on the Windows keyboard you will always accidentally hit the Windows …

Install the DevOps development tools on Windows

Chocolatey If you want to host Chocolatey packages internally install Chocolatey. See Install Chocolatey Store your username in an environment variable We will use it in the .kitchen.yml file of the Chef SDK. Virtual Box Download Virtual Box from https://www.virtualbox.org/wiki/Downloads and follow the instructions to install it. At the time of writing, this was the section where the …

Install software development tools on Windows

Text Editor Notepad ++ Install a good text editor. If you do not have a favorite, I recommend Notepad ++ Configure Notepad ++ Tab settings Visual Studio Code Configure Visual Studio Code Git For Git installation and configuration see Install Git on Windows JSON To automatically pretty print JSON responses in Chrome Make To install Make …

xcrun: error: invalid active developer path on macOS

Issue After a major macOS upgrade (currently to Ventura) the command line tools, including git, in the terminal windows (Terminal, iTerm) stop working. We get the error message xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun Cause The macOS terminals use the Xcode Command Line Tools to execute commands on the Mac. …

There is a double quote at the end of the value read from the .env file

Developers frequently use the .env file to store configuration values on the workstation. If the values contain sensitive data add the line to the .gitignore file to avoid committing the file into source control. If the value contains spaces, enclose it in double quotes Symptom Your application reads a double quote at the end of …