https://github.community/t/npm-bin-field-is-not-exported-in-published-metadata/128402 If i install from registry.selectiont.com the bin property works correctly, but if i install from gitlab, the executable does not get symlinked I had to publish scripts-root to another registry so it could work https://gitlab.com/gitlab-org/gitlab/-/issues/275992 upgraded to 14.7.7-ce.0 and it worked
npm publishing package process
when you want to publish a package to a specific registry, you have to login to that registry first or have a token handy. lets look at logging in first after putting in your user name and password, they will assign you a token and place it in /{user}/.npmrc (/root/.npmrc)[…]
Cross-account pass role is not allowed.
I grabbed an example off the internet and left the arn number.
cors error that has nothing to do with cors
this was actually thrown because my script through an error if I kill the script before the error happens, cors work as expected
Protected: Fixing websockets and having backend run behind reverse proxy
There is no excerpt because this is a protected post.
git: SSH keys, pull private repos
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent because I named the ssh key a non conventional name, I am required to do the following https://stackoverflow.com/questions/25927914/git-error-please-make-sure-you-have-the-correct-access-rights-and-the-reposito https://github.com/settings/keys
jq, stdout bug
in subshell no subshell
pre-receive hook declined
https://stackoverflow.com/questions/28318599/git-push-error-pre-receive-hook-declined
make remote reflect local folder structure
I changed the folder structure around manually without using “git mv”. git gets all confused when you don’t use that command. After pushing, this is what the repo looked like still had all the old files. This code removed all tracked files that didn’t exists locally.