A few days ago I changed the CSS of my Tip Calculator  to use BEM ; it's now a little more organized and easy to understand the code semantics.
When I was ready to deploy the updated code to the live site on GitHub Pages, I encountered the following permission error (I'm using gh-pages  npm package):
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I recently changed my dev environment and now I'm using Node/Git on Windows (moving from WSL2); that was the reason for the error. Looking up the Internet for a solution, I found it here .
English is not my main language, but I'm trying to improve on it. If you find any errors, please let me know: @arthurvmdantas.
 - https://arthurvmdantas.work/journal/journal-2021-08-31/
 - https://en.bem.info/methodology/
 - https://www.npmjs.com/package/gh-pages?activeTab=readme
 - https://superuser.com/questions/1435950/git-gh-pages-deployment-permissions-error-permission-denied-publickey-fatal