Cannot create project because of old repo/ssh key #22467
-
I keep getting this error
The repo in question was from an internship from more than 2 years ago, I haven’t touched any code since then and I just wanted to start a new project to brush the dust off but I’ve been stuck now for more than 6 hours searching every corner of google & stackoverflow for some semblance of an answer. I’ve tried absolutely everything and I cannot create a project/install any packages at all anywhere on my hard drive(s). I have installed Node, npm, git, github desktop and uninstalled and re-installed them about 25 times. I’ve re-authenticated an added a new SSH key to my Github account. I do not know what else to do, I have no access to this repo and I believe it was most likely deleted from the Organization’s account. Is it possible to simply remove this from my account completely? What can I do? |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
While logged, can you visit:
If not, then they’ve either deleted/renamed the repository or removed your access to it/the organization. |
Beta Was this translation helpful? Give feedback.
-
I reached out to the owner and they confirmed it was not deleted. Is there a way I can remove myself from the repo without them? |
Beta Was this translation helpful? Give feedback.
-
What do you mean you keep getting this error? Is something sending you an email? If you aren’t interested in a repository, you generally can not try to clone it. But if something is emailing you a thing, then you should be able to adjust whatever that is. If you’re a member of the organization, you should be able to leave the organization:
Removing yourself from an organization - GitHub DocsIf you're an outside collaborator or a member of an organization, you can leave the organization at any time. If you’re a collaborator on a repository, you should be able to leave that as well:
Removing yourself from a collaborator's repository - GitHub DocsIf you no longer want to be a collaborator on someone else's repository, you can remove yourself. But, it’s really unclear what’s going on here. You haven’t really answered the question I asked in:
While logged, can you visit: https://github.com/[InternshipCompanyName]/stream-browser/ |
Beta Was this translation helpful? Give feedback.
-
I have checked my github account, I am no longer apart of the Organization, I am not a collaborator on the specified repo giving me the error I reinstalled my Windows a few months ago and hadn’t touched any of the repos in 2 years prior to that. I also installed Git & Node earlier for the first time since the fresh Windows install. Also, I cannot access |
Beta Was this translation helpful? Give feedback.
-
Ok, so you can’t access it, and you’re no longer a member/collaborator, that makes sense. What is running this It seems likely you have a |
Beta Was this translation helpful? Give feedback.
-
I’m running the npm command in a new folder (via VSCode, but I’ve tried using CMD & Git) to install a package for the project I’m working on. I’ve Windows searched for |
Beta Was this translation helpful? Give feedback.
-
Look for a Personally, I’d use:
Process Monitor - Windows SysinternalsMonitor file system, Registry, process, thread and DLL activity in real-time. And have it log |
Beta Was this translation helpful? Give feedback.
-
THANK YOU! I found the package-lock.json pretty deep in my files on my C: drive I’m successfully able to install the npm package to my project, I really appreciate the help. |
Beta Was this translation helpful? Give feedback.
Look for a
.npm
directory in%HOMEDRIVE%%HOMEPATH%
(also check.npmrc
).Personally, I’d use:
Process Monitor - Windows Sysinternals
Monitor file system, Registry, process, thread and DLL activity in real-time.
And have it log
npm
ornode
or something. w/ a bit of filtering, it’d eventually be pretty obvious which file is contributing to my pain.