Unable to authenticate, your authentication token seems to be invalid
I had a .npmrc file located at the root of my project and when I ran “npm i” it gave me this error. I ran this command and it fixed it “rm -rf ~/.npmrc”
Could not push to repo even after I deleted it remotely
The Git error “updates were rejected because the remote contains work that you do not have locally” was popping up on me after I tried to push to a repo that I had previously deleted and recreated from scratch. I thought that maybe locally it was retaining some information. But[…]
Things to know: Bash
Error handling with command substitution To accomplish error handling with command substitution you must not use the local key word. this works this does not
Changing code in node_modules does not work in hot reload
https://stackoverflow.com/questions/73977086/changing-code-in-node-modules-does-not-work-in-hot-reload-regardless-of-the-bund
Sorting, Changing order of products
Still did’nt work Now things should be working
ERR_CONTENT_LENGTH_MISMATCH 206
docker.w clean
How to iterate over lines in a variable in Bash?
For some reason the methods above echo out a empty line. the method below does’nt IFS Variable and Its Default Values The special shell variable IFS determines how Bash recognizes word boundaries while splitting a sequence of character strings. The default value of IFS is a three-character string comprising a space, tab, and newline: Here we[…]
context requires credentials to be passed as environment variables
cat ~/.docker/config.json