why does git keep on asking to submit username and password every time i do npm install even though its all ssh key
Hi @mRaj
Check your package.json. It's possible that one of your npm dependencies (or their transitive dependencies) is pointing to a git repo which requires your authentication - the git repo url is https:// and not ssh://
Hi, @Erez Maadaniwell yes in dependencies it's asking for a repo but it is git+ssh and moreover, it used to work before but yes I updated node ver to 16 that is one significant change apart from that no changeand surprisingly it works in the git bash terminal but when doing any npm in vs code integrated bash terminal it asks
It's possible that there are two different git/ssh clients with two different configurations: one is more strict than the other.
Following recent changes to BitBucket host key, you might need to either:
Hi, @Erez Maadani will try the above-suggested steps.since you mentioned a host key change that I did not update maybe that is the issue.
BTW I found it is a vs-code issue till now did not find that login popup.Make sure this field should be unchecked. Well can't be sure but it worked for me.Anybody find anything else update me Thanks
It looks like you're new here. Sign in or register to get started.